Character drop off bottom - how to go to next score screen?

mubblemubble Member Posts: 9
edited November -1 in Working with GS (Mac)
I'm a newbie so need this explained in steps... I currently have attached to the player, a rule attribute of self.position.x but then I think I am getting confused, as I don't know what to set the = or > to, to get the game to recognize when the player drops off the bottom of the screen, to then stop and go to the end game score scene. I have a change scene event - that says to go to the scene I want. I think it's just the above expression instance I don't get. I had it on >100 but I think that is incorrect. The maths of the expression confuse me!

Thanks for any help

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    The way it is now you have the x set to greater then 100, so everytime it moves past a hundred pixels to the right itll change scenes.

    What you want to do is have a rule when self position y is ≤ 0
    change scene
  • mubblemubble Member Posts: 9
    Ah thank you! Gah I literally had them both at the opposite values then. I had originally had it on y - assuming that of course it would be vertical, and thought the value should be high as it was at the bottom.
    Then when that didn't work I thought it must be x, and ended up thinking in some weird dimensions.
Sign In or Register to comment.