Add a solution for Pac-Man speed
This commit is contained in:
parent
11d5bda4a5
commit
919a4c3d82
1 changed files with 11 additions and 0 deletions
11
pacman/solution/SOLUTION.md
Normal file
11
pacman/solution/SOLUTION.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Pac-Man Soulutions
|
||||
|
||||
## Make Pac-Man go slower
|
||||
Increase the number you divide the delta with in [PacMan.cpp](../lib/PacMan.cpp)
|
||||
~~~
|
||||
float_t position_delta = (time_delta.count() / 128.0);
|
||||
~~~
|
||||
Example
|
||||
~~~
|
||||
float_t position_delta = (time_delta.count() / 256.0);
|
||||
~~~
|
Loading…
Reference in a new issue