enemy bullets

This commit is contained in:
t. boddy 2026-02-14 21:29:18 -05:00
parent 7f935f0514
commit 30734885e4
3 changed files with 28 additions and 5 deletions

View file

@ -56,7 +56,7 @@ struct playerStruct player;
struct bulletSpawner {
fix32 x, y, speed;
Vect2D_f32 vel;
s16 angle, anim;
s16 angle, anim, frame;
bool top, player;
};
struct bullet {
@ -77,6 +77,7 @@ struct enemy {
bool active;
u8 type;
s16 angle, off;
u32 clock;
fix32 speed;
Vect2D_f32 vel, pos;
Sprite* image;