Moved interpolation & prediction options to server.

This commit is contained in:
Jeremiah Billmann
2013-07-05 14:56:56 -04:00
parent 5991f725d9
commit e5fe1487ff
4 changed files with 27 additions and 23 deletions
-2
View File
@@ -6,8 +6,6 @@ $(function () {
GarageServerIO.initializeGarageServer('http://garageserver_io.jbillmann.c9.io', {
logging: true,
clientSidePrediction: true,
interpolation: true,
onUpdatePlayerPhysics: onUpdatePlayerPhysics,
onInterpolation: function (id, previousState, targetState, amount) {
var interpolationState = {};