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

@ -8,6 +8,7 @@
#include "player.h"
#include "stage.h"
#include "chrome.h"
#include "start.h"
static void loadInternals(){
JOY_init();
@ -29,10 +30,13 @@ void loadGame(){
static void updateGame(){
updateChrome();
updateBackground();
updateEnemies();
updatePlayer();
updateBullets();
if(clock % 2 == 0){
updateEnemies();
} else {
updateBackground();
updateBullets();
}
}
int main(bool hardReset){