1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2012
    Rep Power

    How do I press on button and it goes to the next scene?

    Hi, I know how to make a button and all.. but what do I do to make it go to the next scene?

    scene 1: Startsidan
    scene 2: Sidan

    I made a frontpage and when I click on the picture I want it to go to scene 2, where it enters the inside.

    the button is called PortalenKnappen, I want to be able to just press on it and it will go to the "sidan(scene 2)" that's empty at the moment.

    what would I have to write? I've tried "portalenKnappen.onPress nextScene("sidan", 1"); but it doesn't work.

    help please, thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2006
    Rep Power
    You need an ON event

    on (release) {



    That should make the button work. You can also give the scenes labels and have it navigate with those.

    Hope this helps.

IMN logo majestic logo threadwatch logo seochat tools logo