mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
removed TODO comment in index.html about fastForward
This commit is contained in:
parent
d453f5b9ad
commit
a40455bae7
|
@ -109,14 +109,6 @@
|
|||
})(Date.now());
|
||||
}
|
||||
|
||||
// NOTE: fastForward can't be greater than 5 if we want tickDuration to be greater
|
||||
// than 6 milliseconds, which is close to the official 4-millisecond limit
|
||||
// for setTimeout. TODO: set this as a limit in the user interface,
|
||||
// and also look into how we can speed up by dropping ticks, while
|
||||
// still having things like having collisions happen when they're supposed
|
||||
// to happen. Perhaps if we make sure to animate collisions over
|
||||
// several ticks, it will work.
|
||||
|
||||
var fastForward = STARTING_FAST_FORWARD;
|
||||
var tickDuration = parseInt (GAME_INFO.gameSecondsPerTick * 1000);
|
||||
var frameDuration = parseInt (1000 / FPS);
|
||||
|
|
Loading…
Reference in New Issue
Block a user