summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index f611b41..317b51c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,15 +6,13 @@
#include "player.h"
int main() {
- SetConfigFlags(FLAG_VSYNC_HINT); //Always better than fixed FPS imo
InitWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "My BeatEmup");
- SetTargetFPS(0);
+ SetTargetFPS(60);
LoadAssets();
InitGame();
AddBackground("bar-background");
-
AddPlayer(0, 0);
AddWall(100, 100, 1000, 100);