Commit Graph

13 Commits

Author SHA1 Message Date
b426ddbdd1 adjustment to player sprite, allowing the inside of the sprite to be a chosen colour 2025-02-18 12:48:55 +00:00
d3200745d0 allow player to have a different width/height that is not a perfect square, (now we have Constants.playerWidth and Constants.playerHeight, having deleted the previous size in Constants.playerSize) 2025-02-18 12:31:22 +00:00
291ee2f7f2 differentiate 'upHeld' from 'jumpHeld' (we may want a different button for going up/down menu and a different button for jumping) 2025-02-16 13:51:52 +00:00
47bda26da5 begin coding functionality for remapping keys 2025-02-16 12:45:29 +00:00
66c60a490d begin adding shield slime enemy variant 2025-02-15 12:34:10 +00:00
219b37053b add functionality for falling enemies to turn into player projectiles when attacked 2025-02-15 02:02:48 +00:00
b8934e3add add function to generate quad tree from falling enemies 2025-02-15 01:52:19 +00:00
e758a5a13c refactor falling_enemy to be contained in FallingEnemyMap, instead of a plain vector 2025-02-15 01:42:29 +00:00
5412a71d30 add code to make enemy fall when attacked by projectile (assuming health is enough) 2025-02-14 18:18:46 +00:00
c75e7bc33b add attacked enemies who are defeated to player's list of defeated_enemies, allowing them to be shot as projectiles 2025-02-14 13:15:45 +00:00
b239dfa04d add functionality to have enemies tract to player's attack 2025-02-14 12:59:22 +00:00
50b57b9ef9 a little refactoring (Player.runPhysicsAndInput function now does just that, instead of also checking for collisions with enemy) 2025-02-14 11:19:24 +00:00
46a1836ae2 additional refactoring, moving player type into its own directory 2025-02-14 10:13:03 +00:00