[2D] Top-down game synchronization

Options
Hi,

we're developing a 2D top-down game (like The Binding of Isaac, for example - http://it.wikipedia.org/wiki/The_Binding_of_Isaac).

Character movement is very simple. We've a PlayerController.cs script that every frame set character's rigidbody speed to

inputAxis * maxSpeed

Our Rigidbody2D has fixedAngle, 0 drag and 0 gravity applied.

Can you suggest a reliable method for character synchronization? We've tried to follow this tutorial: http://doc.exitgames.com/en/pun/current/tutorials/d-jump-and-run but in that example the position interpolation is disabled and when you continuously change direction the result isn't smooth.

Thanks,

Devis

Comments