Commit Graph

15 Commits

Author SHA1 Message Date
8498eacde2 a little bit of refactoring 2025-01-11 21:58:34 +00:00
2433797caf progress drawing projectiles 2025-01-09 11:52:39 +00:00
097d1502ad have pellets fly around player when player has attacked enemy 2025-01-01 14:17:42 +00:00
f199da790d add ability to charge for attack 2024-12-31 10:04:40 +00:00
5f437ae76d draw basic field over player when player is attacking 2024-12-28 04:06:27 +00:00
fccbb15f15 add shader strings which will allow us to make an xyrgba shader in OpenGL 2024-12-27 20:48:36 +00:00
e2b89af6ac refactor player.sml for easier extensibility when fields are added to player type (we accept a list of values to change, instead of destructuring the player.sml values on each function call) 2024-12-22 05:40:33 +00:00
aeb3756e5b change arrow keys (left, down, right) to letter keys (s, d, f) and arrow up to letter key 'k', because I think it is more comfortable 2024-12-20 16:51:21 +00:00
05cc1d3a46 begin coding enemy 2024-12-19 03:08:26 +00:00
07782c7d65 add code to: (1) draw platform (shell.sml), (2) fix wall collision detection regression and platform collision detection bug (I was meant to pass one y parameter and one x parameter to the QuadTree for querying, but accidentally sent the y coordinate twice), (3) perform necessary state transitions that allow to drop from platform when pressing down on a platform, and (4) make sure player does not stick to platform if they jump to platform from below 2024-12-18 03:30:21 +00:00
20c4060124 progress in handling variable window width/height (mostly only in imperative shell though) 2024-12-16 00:58:59 +00:00
cc7f30f718 add GameType.game_type which stores player and wall types, add GameUpdate.update function which takes a game type and returns a new game type, and refactor player/wall files, and gl-draw file, in light of these changes 2024-12-15 09:10:19 +00:00
1901043535 add functionality to move player by using arrow keys 2024-12-14 07:59:43 +00:00
9144c97fba get player to react to wall quad tree 2024-12-13 22:48:34 +00:00
9d42e14b2f add basic imperative shell 2024-12-10 19:48:07 +00:00