summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-08-07 10:10:18 +0300
committerBoredGuy <osome3717@gmail.com>2025-08-07 10:10:18 +0300
commit251be1ac2d808dfd0fca5c0eb37398357ca7bb20 (patch)
tree4bc7ccdaee4773b1ef55ce734a40c528384d4efe /src/main.c
parent2b95f565e8b88841d20f79205ac600cc14e28458 (diff)
Huge Commit
- Added (static)sprites - Removed variable fps (removes wierd camera jitter) Also I'm becoming increasingly more anti-VSync
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);