Level Select with Stars

Get help using Construct 2

Post » Fri Mar 29, 2013 2:16 pm

Tekniko, the videos linked to by Auntie Val are done by ConstructDude he has a ton of videos which are all excellent. He does go fast, but you can pause and take your time, in the end copy paste his code then spend some time looking it over in your build, get a grip of what it does and why, that is the best way to learn.

Brett
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Fri Mar 29, 2013 2:48 pm

@Tekniko Here is a good example .capx of saving the level progress with webstorage, and level selection with buttons but no stars:

Webstorage multilevel saving

For the stars I usually create two global variables for each level for example (L1stars, and L1savedstars). Then I save all the stars collected in that level to L1stars. After that I use webstorage similar to the technique used in the .capx example to compare, save, and display the stars.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Previous

Return to How do I....?

Who is online

Users browsing this forum: mercuryus, Naightwolf, Skebab and 22 guests