Collision Help

jimmyluciajimmylucia Member Posts: 12
edited November -1 in Working with GS (Mac)
Really simple, I need three types of collision for my game: One that will kill the player if they touch it, one that will launch the player into the air and have him coast in the air for a bit when he hits a ramp, and one that will not allow the player to pass through it if touching. Okay, I guess four, the last would be falling through something if touched. So, and obstacle when hit will destroy the player, an obstacle when hit will act as a ramp and launch player into the air, an obstacle that will contain the player in an area, and an obstacle that will be a pit the player can fall into. Any help, or could someone point me in the right direction? Thanks.

Comments

  • PhoticsPhotics Member Posts: 4,172
    Well... the "Kill" one is easy.

    That can be done with a rule.
    If overlaps or collides with actor with tag "Ouch"
    then destroy actor
  • jimmyluciajimmylucia Member Posts: 12
    ANd you can add an animation to that, right?
  • PhoticsPhotics Member Posts: 4,172
    jimmylucia said:
    ANd you can add an animation to that, right?

    Yeah, it's just a matter of adding two behaviors

    1 - A timer in the rule, with run to completion checked. (For X seconds)

    2 - Animate... with restore actor image when finished.
  • jimmyluciajimmylucia Member Posts: 12
    And another question, how do you make a tag?
Sign In or Register to comment.