#include #include #include "constants.h" #include "game.h" #include "player.h" int main() { SetConfigFlags(FLAG_VSYNC_HINT); //Always better than fixed FPS imo InitWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "My BeatEmup"); SetTargetFPS(0); InitGame(); AddPlayer(0.0, 0.0); AddWall(200, 100, 10000, 100); while(!WindowShouldClose()) { UpdateGame(GetFrameTime()); DrawGame(); } CloseWindow(); return 0; }