Destroy actor by jumping on it's head

gamedivisiongamedivision Member Posts: 807
edited November -1 in Working with GS (Mac)
how would I destroy an actor by jumping on his head

Comments

  • liamoliamo Member Posts: 191
    Try having an invisible actor above the enemy actor then have a rule.
    If actor overlaps or collides with actor of type: invisible actor
    And if actor overlaps or collides with actor of type: player
    Destroy actor
    Also make sure you put a collide behaviour in the player
    Collide with actor of type: enemy.
    Hop this helps.
  • BrynjeBamsenBrynjeBamsen Member Posts: 188
    When hero collide or overlaps with monster
    attribute Self.motion.linearY > 0 change attribute "monster" to true

    on the monster:
    When attribute monster is true
    Destroy
    Change attribute monster back to false.

    That you can kill the next monster also
Sign In or Register to comment.