Commit Graph

24 Commits

Author SHA1 Message Date
e4df30703b adjust constants a bit 2025-08-28 23:28:38 +01:00
f3cb7b7546 port over left-walking frames/sprites 2025-08-28 23:02:03 +01:00
a2b14b90e3 change standing sprite 2025-08-28 22:46:13 +01:00
69992b5a8d convert whip-attack sprites to new dotscape format 2025-08-09 14:22:04 +01:00
94dc17011e add a couple of frames to right-attack animation, making it appear smoother and less choppy 2025-03-01 01:11:16 +00:00
39f4614f13 animate whip (only visual; no collision detection) 2025-02-28 14:11:57 +00:00
ee5b30da0e make characters bigger in level (still a multiple of 16 though so will scale nicely) 2025-02-24 11:31:43 +00:00
603d6fa139 add key delay to options menu 2025-02-21 11:36:20 +00:00
dab81e3904 begin function for drawing title screen 2025-02-19 04:07:27 +00:00
6ca2d379f7 bring in cozette-sml so we can draw text 2025-02-19 03:48:38 +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
e62493ce56 change size of player/enemy from 35 to 32 (even number means we can resize better) 2025-02-18 11:09:07 +00:00
4c8b404c09 add code so that bat also moves vertically (in addition to previous horizontal movement) when updating enemy state 2025-02-12 00:25:55 +00:00
1dc3116b77 add fields to enemy which are relevant to bat's state 2025-02-11 23:54:13 +00:00
3db27a4107 cut time which bat rests for in half 2025-02-11 19:40:08 +00:00
d0d93780fb initial implementation of bat's update function (todo: make bat oscillate up and down while it also moves in x axis, and also code bat's collisions with player, adding to falling list if necessary, or being filtered by player's attack) 2025-02-11 19:38:02 +00:00
283962c176 make length of main attack increase and decrease 2025-02-07 11:22:23 +00:00
35eab0f789 reimplement attack patches (todo: add an int to the MAIN_ATTACKING variant to make the attack grow past some limit, and a bool to indicate whether the attack should grow in length or shrink) 2025-02-07 09:10:10 +00:00
90c29ebe24 make enemy's speed slightly slower than player's speed 2025-01-13 12:53:50 +00:00
2c643a1500 change speed that projectile moves at (should be faster than player) 2025-01-13 12:46:10 +00:00
ce7520ce81 derive EnemyPhysics module from functor 2025-01-12 23:33:20 +00:00
c4989711df refactor constants out of enemy.sml 2025-01-12 12:53:41 +00:00
ec44dd9966 refactor constants out from player.sml 2025-01-12 11:46:32 +00:00
a7c2e2ef01 progress moving constant values into own module 2025-01-12 07:18:44 +00:00