improve dash behavior when close to walls
This commit is contained in:
parent
daeda88eed
commit
70ecd17834
|
@ -369,8 +369,8 @@ int main(void)
|
|||
}
|
||||
else {
|
||||
player->movement.facing = next.facing;
|
||||
player->movement.vx = fix(0);
|
||||
player->movement.vy = fix(0);
|
||||
player->movement.vx = next.vx / 2;
|
||||
player->movement.vy = next.vy / 2;
|
||||
player->movement.dash = next.dash;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue