#include #include #include "constants.h" #include "game.h" #include "background.h" #include "player.h" int main() { InitWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "My BeatEmup"); SetTargetFPS(120); LoadAssets(); InitGame(); AddBackground("bar-background"); AddPlayer(0, 400); AddWall(0, 160, 1000000, 100); while(!WindowShouldClose()) { UpdateGame(GetFrameTime()); DrawGame(); } UnloadAssets(); CloseWindow(); return 0; }