Reset Scene Behavior?

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
I have a "restart actor" that spawns when the player runs out of lives. The player can tap the actor if they wish to restart the scene to play again.

I have the rule;

Touch AND Inside is pressed
Reset Scene

How come the actor doesn't go away if I reset the scene?

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    Yes and no.

    When I pause the game I have a button on the Pause scene that a player can click to "Restart," The behavior on it is; Reset Scene. This works well as all interpolate functions that are currently running are reset to the original values and will start over again.

    This problem is; when the player dies I want an actor to move into the scene that the player can touch to restart the scene. This button has the exact same behavior as the button in the Pause scene, but when I touch this actor it resets the scene, but completes the interpolate functions and then stays there (it doesn't move away!) Even if I have behaviors that say, when touch is pressed inside change attributes self.position.X,Y to self.position.640,400 (outside of visual area)...
  • DrGlickertDrGlickert Member Posts: 1,135
    Then how come it works when in the Pause menu?

    Hmm. This is weird.
Sign In or Register to comment.