0 Favourites

webstorage + level select + stars...and stuck!Help!

  • i'm making an android game. But i have problems with the stars in the level select menu.

    I tried to recreate this example (levelselect6.capx below) with of course minor changes to make it suitable for my game:

    scirra. com/forum/ viewtopic.php?t=71811&start=0

    there are 2 problems

    1. For some reason it will show 3stars for every level at the beginning, instead of the locks. (stars are earned by destroying te red ball within a time limit. maybe this is the reason???)

    2. it will not show the button to go to the next world.

    Help would be great! Feel free to change it if you think you can get it fixed. If you no a better way to make a level select with webstoragen and stars I'm open for suggestions.

    Thanks in advance!

  • 1. You have to set the animation speed for Sprite9 to 0 so it stays on one frame instead of playing the whole animation.

    2. Event sheet 3 - Event 6 should be "currentWorld = numberOfWorlds - 1" NOT "currentWorld = currentWorld = numberOfWorlds - 1".

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • THANK YOU!!!! How could i miss that

    I hoped you would answer. Your probably the best help on this forum.

    Yet again...Thank you!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
55 14,327
cingee's avatar
cingee
Unread hot topic
0 Favourites
Webstorage (Save Game)
34 14,981
Radulepy's avatar
Radulepy
Unread hot topic
37 4,507
JackieChan's avatar
JackieChan