enemy bullets
This commit is contained in:
parent
7f935f0514
commit
30734885e4
3 changed files with 28 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue