sfx, explozion
This commit is contained in:
parent
a3f0474ec9
commit
75f6c7d8dc
7 changed files with 146 additions and 12 deletions
|
|
@ -5,7 +5,8 @@ void loadEnemyOne(u8 i){
|
|||
}
|
||||
|
||||
void updateEnemyOne(u8 i){
|
||||
if(enemies[i].clock % 60 == enemies[i].ints[0]){
|
||||
if(enemies[i].clock % 60 == enemies[i].ints[0] && enemies[i].onScreen){
|
||||
enemies[i].clock % 120 == enemies[i].ints[0] ? sfxEnemyShotB() : sfxEnemyShotA();
|
||||
struct bulletSpawner spawner = {
|
||||
.x = enemies[i].pos.x,
|
||||
.y = enemies[i].pos.y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue