Collected items question..plz.. :)
Posted: Fri Jul 03, 2009 3:20 pm
please read this all so you can understand my question...
Hello people. I am making new game called SpongeBob and its almost finished, but, I have one problem.
Its a platform game and you are collectig food and when you collect it you have + 10 points..classic.
But, there is option save and load game. When I save and then exit the game and again start it and load it, there is food that I have collected, sou you can
make unlimited highscore.
So my question is: how to save collected food, so when you load game, that food what you had collect is invisible,...transp=1;
you know, I was trying to make this this way: Make on item variable fs (like FoodSave)
so, when create...fs=1
when destroy fs=0
when destroy saveVars....
and when create load vars..
and when create if fs==1..transp=0
if fs==0 ... transp=1;
But this doesnt work.. why?
Plz help me.
Here is screenshot from my new game:
Thanks,
Camper.
Hello people. I am making new game called SpongeBob and its almost finished, but, I have one problem.
Its a platform game and you are collectig food and when you collect it you have + 10 points..classic.
But, there is option save and load game. When I save and then exit the game and again start it and load it, there is food that I have collected, sou you can
make unlimited highscore.
So my question is: how to save collected food, so when you load game, that food what you had collect is invisible,...transp=1;
you know, I was trying to make this this way: Make on item variable fs (like FoodSave)
so, when create...fs=1
when destroy fs=0
when destroy saveVars....
and when create load vars..
and when create if fs==1..transp=0
if fs==0 ... transp=1;
But this doesnt work.. why?
Plz help me.
Here is screenshot from my new game:
Thanks,
Camper.