Many games are based on levels, and most of those games have a screen where:
- The user can choose a level to play.
- Some levels are locked until previous levels have been played.
- A number of stars are shown based on the playerâ€™s score for that level.
One of the most commonly asked game dev questions is, â€œHow do I lock and unlock levels?â€ Until now Iâ€™ve tried to explain the concept to people but now I have a better answerâ€¦
The Outlaw Game Tools Level Manager
OGT Level Manager is a library you include in your game and then â€œtweakâ€ some variables to specify which graphics you want to use, how many total levels you have, etc.
And then in your game itâ€™s as easy as this to unlock the next level when the player has finished with the current level:
OGT Level Manager keeps track of which levels have been unlocked and itâ€™s shown automatically when the player goes back to the level select screen!
If youâ€™re using a â€œstarsâ€ system in your game, OGT Level Manager will even keep track of how many stars were earned on each level. And itâ€™s this easy to use:
That one call will let OGT Level Manager know the player earned two stars on that level and it will automatically show the correct number on the level select screen.
Here are some of the features found in this library:
- No limit to the number of levels.
- Multiple pages with next and previous arrows.
- One to three stars shown on levels (optional).
- Use your own graphics. Using smileys instead of stars? No problem!
- Tweak the position of level boxes, arrows, stars, numbers, etc.
- One storyboard scene with data loaded for each level? Works that way.
- One storyboard scene for each level? Works that way, too!
Basically, Iâ€™ve made it easy to drop in your own graphics, and then tweak the position of any that may need it by setting variables. Changing the actual code is not necessary.
- Corona SDK (works with both the free and paid versions).
- Use Storyboard in your game (does not work with Director).
OGT Level Manager comes with two sets of tutorial videos.
The first set is for those people who want to just use the library in their games and donâ€™t really care about the stuff under the hood. These are the â€œbasic how to use itâ€ videos.
The second set dives in behind the scenes and shows you how things work. Just a word of warning, for this second set of videos Iâ€™m assuming you have at least an intermediate knowledge of using Corona SDK. I donâ€™t start clear back at the â€œthis is how you display a graphicâ€ point.
The normal price for OGT Level Manager will be $29, but as a launch special itâ€™s available now for just $19 â€” and that includes all updates for at least the next year! (Actually, I have no plans to ever charge for updates, but now you know youâ€™re good for a year.)
You will save a LOT of time by using OGT Level Manager -- time you can spend working on the more fun parts of your new game!