feat: player can shoot

This commit is contained in:
huaqo
2026-03-05 11:13:55 +01:00
parent e1596f633d
commit 59b51c2beb
11 changed files with 150 additions and 298 deletions
+3 -1
View File
@@ -147,11 +147,13 @@ typedef struct {
Physics physics;
} Islands;
#define MAX_PROJECTILES 10
#define MAX_PROJECTILES 100
typedef struct {
int count;
Physics physics[MAX_PROJECTILES];
bool active[MAX_PROJECTILES];
float radius[MAX_PROJECTILES];
Color color[MAX_PROJECTILES];
} Projectiles;
typedef struct {