WIP
This commit is contained in:
@@ -16,8 +16,8 @@ every game's update loop.
|
||||
### Why `delta`?
|
||||
|
||||
`delta` is the number of **milliseconds since the last frame**. Frames are not
|
||||
evenly spaced — a busy frame takes longer. If you moved a fixed amount *per
|
||||
frame* instead of *per millisecond*, your game would run faster on a fast
|
||||
evenly spaced — a busy frame takes longer. If you moved a fixed amount _per
|
||||
frame_ instead of _per millisecond_, your game would run faster on a fast
|
||||
computer and slower on a slow one.
|
||||
|
||||
By storing velocity as **units-per-millisecond** and multiplying by `delta`, the
|
||||
|
||||
Reference in New Issue
Block a user