add ship rendering and damping
This commit is contained in:
parent
05ad81ed8d
commit
80bd84230d
22 changed files with 66 additions and 6 deletions
|
@ -19,6 +19,7 @@ function Net() {
|
|||
});
|
||||
|
||||
this.socket.on('world', function(data) {
|
||||
game.world.clear();
|
||||
game.world.playerShipId = data;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue