Commit Graph

17 Commits

Author SHA1 Message Date
1f726539da record pressedTime when player is performing mainAttack 2025-08-29 12:46:41 +01:00
a016832233 remove dead code 2025-08-29 10:42:46 +01:00
4b6d917be9 fix a purely visual bug: do not transition to 'DROP_BELOW_PLATFORM state when player is touching ground wall 2025-06-10 13:01:05 +01:00
da86e79115 make player's heatth decrement when attacked, and when player's health reaches 0, boot player back to title screen 2025-03-21 10:58:10 +00:00
f784244e81 make left-attack frames smoother, just as right-attack frames were made smoother in previous commit 2025-03-21 10:37:19 +00:00
a0aac81b6c make whip attack smoother when facing right (by doubling frames and manually coding interpolations) 2025-03-21 10:17:40 +00:00
e9e9d80a78 add leftFrames for whip attack 2025-03-01 01:48:15 +00:00
693630a655 add collision detection for whip attack 2025-03-01 01:31:18 +00:00
39f4614f13 animate whip (only visual; no collision detection) 2025-02-28 14:11:57 +00:00
0385366fce use player jumping sprites when player drops below platform 2025-02-24 12:59:59 +00:00
4c853c1843 add animation for player walking leftwards 2025-02-23 07:43:23 +00:00
bd49877cf7 add code for going through right-walk cycle in draw/vector code (for player) 2025-02-22 19:02:28 +00:00
f8ed79c81f small improvement to player's sprite (and create subdirectory for player's sprites too, as I expect there will be quite a few) 2025-02-22 06:02:28 +00:00
40fff7729f add 'newKeys' field (list of key codes pressed in frame) to frame input type, so we can change key bindings at runtime later 2025-02-21 11:57:29 +00:00
6762a1b994 add non-configurable escape button to input type, to be used as a way to go backwards or exit menu 2025-02-20 13:32:37 +00:00
6b4b637624 done adding LevelType.level_type as a field of GameType.game_type, and having main loop go through GameUpdate.game_type -> LevelUpdate.update 2025-02-18 13:48:17 +00:00
afe878c05d begin parameterising level so that it fits into larger type (with different modes like TITLE, LEVEL, SETTINGS, etc.) 2025-02-18 13:16:52 +00:00