Friday, April 3, 2015

[Progress] Collision detection with boulder pushing - part 2

After messing with toggling solids and such to get my collision issue working [almost] perfectly. I realized when my player collides with the boulder, his movement halts at the moment of the collision. While not noticeable at first, it becomes apparent when you are not restricted to a confined area (say a hallway or something with very limited direction). I'll need to figure out where to insert a !place_snapped(16,16) function into the player, without freezing him in position.. Ideally I was hoping the whole movement thing to be simultaneous, but even changing the x += 10 values to 16 did not work.

No comments:

Post a Comment