mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-21 12:20:38 +08:00
Used world state for heigh/width
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@ function Game (sockets) {
|
||||
logging: true,
|
||||
interpolation: true,
|
||||
clientSidePrediction: true,
|
||||
smoothingFactor: this.physicsDelta * 20
|
||||
smoothingFactor: this.physicsDelta * 20,
|
||||
worldState: { height: '400px', width: '800px' }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user