diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-20 13:34:04 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-20 13:34:04 -0500 |
| commit | f0eab98e417bf648261a9027bef91fe935af76cb (patch) | |
| tree | 7c212cbe8bd549d5a6229c616806095596859a8f /src/consts.h | |
| parent | ca4935cb65325edbd45d4a3aacc921ea9ed9483b (diff) | |
| download | tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.tar.gz tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.tar.bz2 tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.zip | |
Added variable movement speed
Ionia now moves at half Lucas's speed, which I think is good for NPCs.
Diffstat (limited to 'src/consts.h')
| -rw-r--r-- | src/consts.h | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/consts.h b/src/consts.h index 38e0ef8..e0af6cd 100644 --- a/src/consts.h +++ b/src/consts.h | |||
| @@ -7,8 +7,8 @@ const int GAME_HEIGHT = 480; | |||
| 7 | const int CANVAS_WIDTH = 240; | 7 | const int CANVAS_WIDTH = 240; |
| 8 | const int CANVAS_HEIGHT = 160; | 8 | const int CANVAS_HEIGHT = 160; |
| 9 | 9 | ||
| 10 | const int MOVEMENT_SPEED = 2; | 10 | const int LUCAS_MOVEMENT_SPEED = 2; |
| 11 | const int PARTY_FRAME_DELAY = 10;// / MOVEMENT_SPEED; | 11 | const int PARTY_FRAME_DELAY = 20; // true delay is this divided by movement speed (so for Lucas walking it's 10) |
| 12 | 12 | ||
| 13 | const int MESSAGE_TEXT_WIDTH = 196; | 13 | const int MESSAGE_TEXT_WIDTH = 196; |
| 14 | 14 | ||
