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:
Vlevo 2022-12-16 14:40:10 -05:00 committed by GitHub
parent 949394bada
commit dbecccfc89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: