Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Karutobi

Pages: 1
Ask a Question / Changing Scenes - Implementation: Creating the Button
« on: April 15, 2014, 09:25:39 am »

I don't know if this question is already answered, I tried searching on google and on the Stencyl forum if the answer is already been given.

There is a documentation about Changing Scenes:

Basically the part I'm stuck on is the level selector -
Mini-Challenge: You should extend this, so that it wraps over and starts a new line upon hitting the 6th button

May I ask, how do I do this, I've played around with the code for a good while (few days) and still cannot grasp the idea of creating the 6th button in a new line/indent etc...
(I've created a new scene and assigned all the behaviors like the rest and re-named the scene to '6' also have 7,8,9,10)

I understand what's going on in the code block itself and that it's inside the Level Select Scene which I've changed the 'Repeat Loop to 10'

Any help would be greatly appreciated.

Pages: 1