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
→
Creating level lists
Pages:
1
Creating level lists
Jschiarizzi
Posts: 1
June 07, 2014, 06:50:49 pm
I have my game mechanics and a dozen levels squared away. What is the best way to go about making a list of levels?
Something like this:
Do I just have to make a bunch of buttons? Also is there an easy way to make them get unlocked when you beat the previous one?
All suggestions welcomed, thanks.
infinitum3d
Posts: 89
June 07, 2014, 07:43:22 pm
You either need individual buttons, or one button with a numerical animation, as in 'set animation to 1' etc.
You could try a boolean like "isUnlocked" =false. Then when they complete a level, change it to true.
sdieters
Posts: 2068
June 08, 2014, 07:13:21 am
You can also build your level select scene by code using one empty button actor (perhaps with 3 different stars animation), a custom font and a loop system. The loop system will place the empty buttons and give them a value(which is used to call the correct level), while the draw event will give them a number or name.
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p
Pages:
1