mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-02 11:50:38 +08:00
Progress: Delta time & fixed timestep
This commit is contained in:
1 parent
9b7b0a9531
commit
415dceb524
3 files changed
+2
-10
No files matched your search
@@ -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