Add a solution for Pac-Man speed

This commit is contained in:
Patricia Aas 2020-11-30 17:59:18 +01:00
parent 11d5bda4a5
commit 919a4c3d82
1 changed files with 11 additions and 0 deletions

View 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);
~~~