Page 1 of 1

Client-Side Prediction

Posted: Thu Jul 23, 2009 5:22 pm
by Kuromeku
Hey, I'm new to networking and am trying to figure out client-side prediction with functions like applyForce/Velocity/Impulse - how I would go about doing it and overall making my game run smoothly. Here is my .love for an example of the game currently.

Run one first, select server, then run another and select client. Use the arrow keys to move (currently translates the entity for now, I've no clue how to use applyForce or the other functions as you have to set insanely high numbers and I'd only want it to move smoothly like 8 units in any direction).

http://files.getdropbox.com/u/1589505/greenshell.love

Re: Client-Side Prediction

Posted: Fri Jul 24, 2009 1:00 pm
by Kuromeku
Let me give you a REALLY new version...

http://files.getdropbox.com/u/1589505/greenshell.love