levels, score and other saves
Posted: Tue Jan 04, 2011 10:01 pm
Hi everyone and happy new year, I'm making a block breaker game, I have a lot of work done thanks to some of you.
Almost all graphics are done, and a big part of the code too.But there still are few things that I have problems with.
First, I made a menu, which (whem play button is pressed) opens another .ged where you have all the levels in the form of icons that when pressed open levels .geds. Every level has a different .ged.
What I want is that when you first play the game, only the first level is available, and when you finish that first level, it makes the second one available. Just like many games on Iphone (angry birds, cut the rope, etc...) I know that I have to use savevars and loadvars but I can't figure out how.
Then I'd like to save score from a level and then load and add it in the main level selection .ged
And finaly, another thing I can't figure out, when my ball gets out of vision, it's brought in the middle of the screen and one live is lost, but I'd like it to get just up of the paddle and follow it, just like at the beggining of the level.
If someone could help me, it would be realy nice.
Thanks in advance, Nykos
Almost all graphics are done, and a big part of the code too.But there still are few things that I have problems with.
First, I made a menu, which (whem play button is pressed) opens another .ged where you have all the levels in the form of icons that when pressed open levels .geds. Every level has a different .ged.
What I want is that when you first play the game, only the first level is available, and when you finish that first level, it makes the second one available. Just like many games on Iphone (angry birds, cut the rope, etc...) I know that I have to use savevars and loadvars but I can't figure out how.
Then I'd like to save score from a level and then load and add it in the main level selection .ged
And finaly, another thing I can't figure out, when my ball gets out of vision, it's brought in the middle of the screen and one live is lost, but I'd like it to get just up of the paddle and follow it, just like at the beggining of the level.
If someone could help me, it would be realy nice.
Thanks in advance, Nykos