Fixed client prediction and prepped for interpolation

This commit is contained in:
Jeremiah Billmann
2013-06-25 22:33:38 -04:00
parent bbbc28e134
commit 3d8fe0790f
5 changed files with 103 additions and 103 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ $(function () {
logging: true,
clientSidePrediction: true,
//interpolation: true,
onUpdatePhysics: function (state, inputs) {
onUpdatePlayerPhysics: function (state, inputs) {
var i = 0;
if (!state.x && !state.y) {
state.x = 0;