Commit Graph

17 Commits

Author SHA1 Message Date
7290d9865d have enemy physics working and applied to enemy 2025-01-12 23:58:21 +00:00
27fbe1c12e create enemy patch structure 2025-01-12 23:28:03 +00:00
8906d244eb extract player patch types and functions to its own module 2025-01-12 19:25:05 +00:00
9280a12911 functorise physics for player 2025-01-12 12:36:26 +00:00
a7c2e2ef01 progress moving constant values into own module 2025-01-12 07:18:44 +00:00
75e28b892e done getting player's projectiles to collide with enemies successfully, and tested (although the code of the enemy reacting to the player is not the best) 2025-01-11 21:35:55 +00:00
0367b3a23c progress detecting collision between enemy and player's projectile, and decrementing enemy's health once detected 2025-01-11 13:45:29 +00:00
df0926195d decide on a different structure/module for each collision 2025-01-10 10:12:59 +00:00
5f437ae76d draw basic field over player when player is attacking 2024-12-28 04:06:27 +00:00
e98c5b65e9 add bin search function 2024-12-26 15:10:33 +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
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
fb2be7be73 add block.sml which just generates a block for OpenGL 2024-12-10 11:55:40 +00:00