Locking and Unlocking Levels in Your Solar2D Games
J. A. Whye
1:02:54
Description
Use the OGT Level Manager to handle level management in your games! Lock and unlock levels easily. Full code included!
What You'll Learn?
- Create fun and easy-to-use level selectors in your game.
- Keep track of how many stars are earned on each level in your game.
- Save and retrieve scores for each level of the game.
- Make more games, faster!
Who is this for?
What You Need to Know?
More details
Description   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:Â
 unlockNextLevel()Â
   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:Â
 updateStars(2)Â
   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 Composer scene with data loaded for each level? Works that way.
One Composer 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.Â
 Requirements:Â
Solar2D.
Use Composer for scene management in your game (built-in to Solar2D).
   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 Solar2D. I donât start clear back at the âthis is how you display a graphicâ point. Â
 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!Â
Who this course is for:
- Solar2D game developers who use levels in their games.
   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:Â
 unlockNextLevel()Â
   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:Â
 updateStars(2)Â
   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 Composer scene with data loaded for each level? Works that way.
One Composer 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.Â
 Requirements:Â
Solar2D.
Use Composer for scene management in your game (built-in to Solar2D).
   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 Solar2D. I donât start clear back at the âthis is how you display a graphicâ point. Â
 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!Â
Who this course is for:
- Solar2D game developers who use levels in their games.
User Reviews
Rating
J. A. Whye
Instructor's Courses
Udemy
View courses Udemy- language english
- Training sessions 8
- duration 1:02:54
- English subtitles has
- Release Date 2024/07/24