diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 21:27:20 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 21:27:20 +0100 |
| commit | fb3f09ad7691765a7f578309a80c4a0cf4012236 (patch) | |
| tree | 7aec78921117eadaf98c9000a59f9bf122e850e3 /include/joypad.s | |
| parent | bc99212539f6da721ab50f4cd5e3ab0b4e76827e (diff) | |
| download | jetpac.nes-fb3f09ad7691765a7f578309a80c4a0cf4012236.tar.gz jetpac.nes-fb3f09ad7691765a7f578309a80c4a0cf4012236.zip | |
Check for enemy death after its movement
Some enemies might die right after moving (e.g. asteroids exploding into
the ground). In these cases, there's no point on checking for player
collision. Moreover, this also avoids the corner case of having two
explosions on a single death.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'include/joypad.s')
0 files changed, 0 insertions, 0 deletions
