mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-02 11:50:38 +08:00
Progress: #3
This commit is contained in:
1 parent
2e714b80ce
commit
710f33a753
4 files changed
+27
-7
No files matched your search
@@ -6,7 +6,7 @@ $(function () {
|
||||
|
||||
GarageServerIO.initializeGarageServer('http://garageserver_io.jbillmann.c9.io', {
|
||||
logging: true,
|
||||
onUpdatePlayerPhysics: GamePhysics.getNewState,
|
||||
onUpdatePlayerPhysics: GamePhysics.getNewPlayerState,
|
||||
onInterpolation: GamePhysics.getInterpolatedState,
|
||||
onWorldState: function (state) {
|
||||
document.getElementById('gameCanvas').style.width = state.width;
|
||||
|
||||
Reference in new issue
Block a user