mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-12 00:40:09 +08:00
Progress: Client Side Prediction
This commit is contained in:
@@ -34,11 +34,6 @@ $(function () {
|
||||
}
|
||||
},
|
||||
|
||||
processServerInput = function () {
|
||||
//GarageServerIO.processPlayerInput
|
||||
//GarageServerIO.processClientInput
|
||||
},
|
||||
|
||||
draw = function () {
|
||||
ctxGameCanvas.clearRect(0, 0, gameCanvas.width, gameCanvas.height);
|
||||
|
||||
@@ -51,7 +46,6 @@ $(function () {
|
||||
requestAnimFrame(update);
|
||||
|
||||
processClientInput();
|
||||
processServerInput();
|
||||
|
||||
draw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user