diff options
author | quou <quou@disroot.org> | 2024-10-01 19:00:10 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-01 19:00:10 +1000 |
commit | 7af26595c1d32eb8519b6d864a991dbd377f5ffa (patch) | |
tree | 89e1c2fcdcf7ec78eb9b53d2e30477fbb9010dc4 | |
parent | a5f6618cd6a692eda3acd934b71355959b388518 (diff) |
reduce the enemy jump distance
-rw-r--r-- | enemy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ void update_demon_move(Enemy* e, World* w) { e->face = face_right; } else if (e->state == enemy_state_approach2) { if (e->grounded < 3) { - e->vx = (p->x - e->vx) / 100; + e->vx = (p->x - e->vx) / 120; if (e->face == face_left) e->vx = -e->vx; e->vy = -enemy_demon_jump_force; |