TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
level menù
Pages:
1
level menù
yuripizz
Posts: 59
March 20, 2013, 03:59:03 am
I need a hand, I created a menu for the levels of my game at every level exceeded unlock the next one!
But if I get to level 10 (example) once finished iil unlock level 11, if I go back to level 6 (example) unlocks the 7 but freezes after the other! how do I?
The8BitMan
Posts: 424
March 20, 2013, 08:45:19 am
Have a boolean attribute for each level called e.g. "Level7Unlocked?".
Set these to false by default except for level 1.
When you complete a level you need to set the next ones at attribute to true.
On the level select menu when a level is selected, only change scenes if the levels attribute is true.
Hope that helped you.
Need music, graphics, scripts? Just ask!
Pages:
1