Tracking

MERMMERM Member Posts: 194
edited November -1 in Working with GS (Mac)
How could I create a game that is impossible to win because every time you move you will be crushed by a meteor? I would like the meteor to fall from above and move straight to the actor as soon as he moves, and I want the meteor to gain on him and explode. Is it possible to do this?

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    MERM said:
    How could I create a game that is impossible to win because every time you move you will be crushed by a meteor? I would like the meteor to fall from above and move straight to the actor as soon as he moves, and I want the meteor to gain on him and explode. Is it possible to do this?

    Yes, very possible to do this. Just put on your player:

    Constrain (new variable) PlayerX to self.positionX
    Constrain (new variable) PlayerY to self.positionY

    Then on your meteor, put
    Move to PlayerX, PlayerY

    While I'm here, let's help with the scoring:

    create a variable called 'Fun'.
    Then on your meteor, put:

    If overlaps or collides with actor 'Player'
    Change attribute 'Fun' to -1000000

    Hope that helps!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • MERMMERM Member Posts: 194
    I added the boolean attributes PlayerX and PlayerY, and then I got past the Constrain PlayerX to self.positionX and the Constrain PlayerY to self.positionY, but when i put Move to PlayerX and PlayerY on the meteor and preview, it jumbles up the screen and does not work. Am I doing something wrong?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    quantumsheep said:
    While I'm here, let's help with the scoring:

    create a variable called 'Fun'.
    Then on your meteor, put:

    If overlaps or collides with actor 'Player'
    Change attribute 'Fun' to -1000000

    Hope that helps!

    QS :D

    LMAO!!!!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    player x and player y shouldnt be boolean. They should be real attributes
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    If overlaps or collides with actor 'Player'
    Change attribute 'Fun' to -1000000

    Hope that helps!

    QS :D

    hehehehe
  • AjBlueAjBlue Member Posts: 215
    JohnPapiomitis said:
    If overlaps or collides with actor 'Player'
    Change attribute 'Fun' to -1000000

    Hope that helps!

    QS :D

    hehehehe

    inside joke?
  • AsymptoteellAsymptoteell Member Posts: 1,362
    AjBlue said:
    inside joke?

    I dont think so. I think it's because the rating on the funometer in a game where you immediately die is -1000000.

    I'm pretty sure it's also a torture strategy for the criminally insane...
Sign In or Register to comment.