platform beat em up and jumping question

  • Its probably cause its late and i my brain is not working....

    but lets say you have a 2D beat em up game like battle toads etc.

    and you have a crate in the middle of the room.

    So far i've been using a simply translate on the X and Y of the sprite to move it around the level, and collision boxes around objects i dont want them to walk through.

    But how do i get them to jump up on top of the box?

    Do i put the jump animation into the sprite instead of moving the sprite, and then do some kind of math once its on top of the box to now make the character walk around on the top of the box?

    or is there some way to use the platform behavior and create areas like the top of the box for the character to be able to walk around on, in which case, how do you fake the isometric ground of the top of the box?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)