2020-11-30 16:59:18 +00:00
|
|
|
# Pac-Man Soulutions
|
|
|
|
|
|
|
|
## Make Pac-Man go slower
|
|
|
|
Increase the number you divide the delta with in [PacMan.cpp](../lib/PacMan.cpp)
|
|
|
|
~~~
|
2021-05-10 13:14:38 +00:00
|
|
|
float position_delta = (time_delta.count() / 128.0);
|
2020-11-30 16:59:18 +00:00
|
|
|
~~~
|
|
|
|
Example
|
|
|
|
~~~
|
2021-05-10 13:14:38 +00:00
|
|
|
float position_delta = (time_delta.count() / 256.0);
|
2020-11-30 16:59:18 +00:00
|
|
|
~~~
|