mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-01 16:50:06 +08:00
Progress: Delta time & fixed timestep
This commit is contained in:
@@ -40,7 +40,7 @@ $(function () {
|
||||
ctxGameCanvas.clearRect(0, 0, gameCanvas.width, gameCanvas.height);
|
||||
|
||||
GarageServerIO.getPlayerStates(function (state) {
|
||||
ctxGameCanvas.fillRect(state.x, state.y, 10, 10);
|
||||
ctxGameCanvas.fillRect(state.x, state.y, 15, 15);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user