Platformer Question?

laxking97laxking97 Member Posts: 114
edited November -1 in Working with GS (Mac)
How could I make a Goomba type thing with GameSalad. Like if I touch the top it dies, if I touch the side I die

Comments

  • lowskilowski Member Posts: 25
    See http://gamesalad.com/forums/topic.php?id=7796

    and then watch http://gamesalad.com/wiki/how_tos:gsc_how_to_have_more_then_one_hit_points

    Create two actors, one that is tall and skinny and another that is shorter and fatter. Make it so the tall actor will get destroyed when your player actor collides with it and make it so the shorter fatter actor will destroy your player actor when they collide. Use the video tutorial to constrain the location of your short and fat actor to the x and y of your tall and skinny actor (that way they will always have the same x and y location even if they are moving.

    Then read what Butterbean said to make the shorter actor get destroyed when the player actor collides with the taller actor.

    Hope this is clear enough!
Sign In or Register to comment.