Functions running while not in scene

Hi, I am very new with storyboards and am completely stuck. I start up my app and see my main menu then click start. When I click start the player has already started moving and enemies have already started spawning. What could have caused this and how might i fix this? Thanks!

based on the information you have provided - you are the only one who might be able to help you!

Look at your code in the first storyboard scene and see what it is actually doing  - and is this what you wanted it to do.

Based on the code you posted (none!) the only suggestion is to look at  - timer.performWithDelay Docs.

T.

Thanks! It turns out since the delta time was so high it shot my character REALLY quick. How do you think I might be able to fix that?

If you start actions like timers and transitions in the createScene() function they will start before the scene transitions on the screen.  You should always start things in enterScene() which fires after the scene is on screen.

Rob

based on the information you have provided - you are the only one who might be able to help you!

Look at your code in the first storyboard scene and see what it is actually doing  - and is this what you wanted it to do.

Based on the code you posted (none!) the only suggestion is to look at  - timer.performWithDelay Docs.

T.

Thanks! It turns out since the delta time was so high it shot my character REALLY quick. How do you think I might be able to fix that?

If you start actions like timers and transitions in the createScene() function they will start before the scene transitions on the screen.  You should always start things in enterScene() which fires after the scene is on screen.

Rob