Progress: Interpolation

This commit is contained in:
Jeremiah Billmann
2013-06-21 22:01:15 -04:00
parent 71d9eb8e75
commit 0a4f6930aa
3 changed files with 21 additions and 10 deletions
+1
View File
@@ -2,6 +2,7 @@ $(function () {
GarageServerIO.connectToGarageServer('http://garageserver_io.jbillmann.c9.io', {
logging: true,
clientSidePrediction: true,
interpolation: true,
onUpdatePhysics: function (state, inputs) {
var i = 0;
if (!state.x && !state.y) {