Commit Graph

12 Commits

Author SHA1 Message Date
097d1502ad have pellets fly around player when player has attacked enemy 2025-01-01 14:17:42 +00:00
8e75d09fc1 add defeated enemies to player record 2025-01-01 09:53:30 +00:00
f199da790d add ability to charge for attack 2024-12-31 10:04:40 +00:00
7d09661e98 use different collision size when player is attacking 2024-12-28 04:11:29 +00:00
8804847d7a use binary search to find enemy with ID in 'GameUpdate.checkEnemies' function, because we previously relied on the enemy's index 2024-12-27 18:26:57 +00:00
ada63d54ce progress on player-enemy collisions when player is attacking enemy 2024-12-27 18:12:42 +00:00
01bc91e201 return (player, enemies vector) tuple from function to check player-enemy collisions, because we will later want to update both player and enemy in the event that both collide 2024-12-27 17:32:42 +00:00
8e29bad5a3 restore player-enemy collisions (this time in fcore/game-update.sml) 2024-12-24 19:00:11 +00:00
77c2ed4e62 a little refactoring 2024-12-24 12:05:44 +00:00
05cc1d3a46 begin coding enemy 2024-12-19 03:08:26 +00:00
ddd58fd534 add platform vector and platform quadtree to game type 2024-12-17 21:42:06 +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