Making a game like IcyTower or Doodle jump

hello loyal fellas.
I need help on making a floor to collide with my player only when my player stands on top of it, but not when jump over it.
I try my best to explain
yours sir johnes

Answers

  • -Timo--Timo- Member Posts: 2,313

    we have a free doodle jump template at http://www.gsinvention.com/free-demos
    worth checking out.

    make a game attribute

    in the player:
    constrain game.attribute to self.position.Y-self.size.height/2

    in the platform
    if game.attribute >= self.position.Y+self.size.height/2
    do
    collide with player
    hope this helps

Sign In or Register to comment.