2d Ice movement

Posted by Jeremy Clarkson on Game Development See other posts from Game Development or by Jeremy Clarkson
Published on 2014-06-08T07:24:30Z Indexed on 2014/06/08 9:42 UTC
Read the original article Hit count: 310

Filed under:

I am building an top-down 2d RPG like zelda. I have been trying to implement ice sliding. I have a tile with the slide property. I thought it would be easy to get working. I figured that I would read the slide property, and move the character forward until the slide property no longer exists. So I tried a loop but all it did was stop at the first tile in an infinite loop. I then took the loop out and tried taking direct control of the character to move him along the slide path but I couldn't get it to move.

Is there an easy way to do an ice sliding tile based movement in libgdx. I looked for a tutorial but none exist.

© Game Development or respective owner

Related posts about libgdx