Jump to content

Collision with Tile-Based Movement


hnabi94
 Share

Recommended Posts

I wanted to create tile-based movement, and I've accomplished that quite easily using tweens using the player x/y values. This works great, but the problem is that collision is not working, since collision happens off of velocity and I am just using the x/y values to move the player.

 

So, my question is how can I get collision to work? Is there some approach I can take keeping my movement system, or will I have to recreate the movement to use velocity. I'd really like to keep the tween movement since it is so simple.

Thanks, hnabi94.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...