mirror of
https://github.com/DragonRidersUnite/book
synced 2024-12-27 09:58:15 +01:00
typos 02-player-movement.md
15: 'tick' here is "a concept of time" and not a variable/method/filename/etc.
This commit is contained in:
parent
949394bada
commit
dbecccfc89
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ end
|
|||
|
||||
That displays our player dragon and nothing else. Excellent. Let's get this dragon moving!
|
||||
|
||||
In order to handle moving the player, we need to keep track of the position across the game loops. This lets us know where the player was last `tick`, check if they should move, and then update their position accordingly.
|
||||
In order to handle moving the player, we need to keep track of the position across the game loops. This lets us know where the player was last tick, check if they should move, and then update their position accordingly.
|
||||
|
||||
Update your `mygame/app/main.rb` to be this:
|
||||
|
||||
|
|
Loading…
Reference in a new issue