From 251be1ac2d808dfd0fca5c0eb37398357ca7bb20 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Thu, 7 Aug 2025 10:10:18 +0300 Subject: Huge Commit - Added (static)sprites - Removed variable fps (removes wierd camera jitter) Also I'm becoming increasingly more anti-VSync --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.c') 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); -- cgit v1.2.3