How to save level scores and what levels are complete
Hi everyone I was making my level select screen and I have it all done(I used Tshirt Booths Multiscreen menus tutorial). But after a level I have an option to go back to the level select screen and after I finish the first level for example and I click to go back to the level select screen it comes up with a locked image over the level 2 and ones after that even though I am up to that level.
I also have a question about saving the high scores, at the moment at the level select screen I have a picture of a locked or unlocked level button and it should have the amount of the starts you got on that level. But when I go to the level select screen after a level it shows the level with score how can I fix this. By the way the score is like out of 3 stars, the stars get filled in if that score was reached. Just like many other games such as angry birds.
Thanks in advance If you have any questions, most likely because I'm not very good at explaining please ask.
Thanks.
I also have a question about saving the high scores, at the moment at the level select screen I have a picture of a locked or unlocked level button and it should have the amount of the starts you got on that level. But when I go to the level select screen after a level it shows the level with score how can I fix this. By the way the score is like out of 3 stars, the stars get filled in if that score was reached. Just like many other games such as angry birds.
Thanks in advance If you have any questions, most likely because I'm not very good at explaining please ask.
Thanks.
Best Answers
-
SolarPepperStudios Posts: 754
Set attributes for each level (BOOLEANS are useful) and then when the level is complete change that boolean to true and save the attribute. When your game starts have an actor that loads all of those attributes into the correct areas. Or like the tutorial above you could use tables, which would probably be easier. -
Braydon_SFX Posts: 9,273
Using tables is WAY easier. Use tables, it'll save you tons of hassle in the end.
Answers