enemy spawning etc

This commit is contained in:
t. boddy 2026-02-14 22:44:21 -05:00
parent b2c0eaf30b
commit 11547e9d13
6 changed files with 109 additions and 54 deletions

View file

@ -1,5 +1,6 @@
u32 clock;
#define CLOCK_LIMIT 32000
#define PROP_COUNT 4
#define GAME_H_F FIX32(224)
@ -70,7 +71,7 @@ struct bullet bullets[BULLET_COUNT];
// enemies
#define ENEMY_COUNT 16
#define ENEMY_COUNT 24
struct enemy {
bool active;
@ -80,6 +81,7 @@ struct enemy {
fix32 speed;
Vect2D_f32 vel, pos;
Sprite* image;
s16 ints[PROP_COUNT];
};
struct enemy enemies[ENEMY_COUNT];