summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-09-25 16:46:39 -0400
committerSam Anthony <sam@samanthony.xyz>2024-09-25 16:46:39 -0400
commit3047a508b71afaae55f3ce543a783c167bd1c200 (patch)
tree7e94c37345ca4e134b2c0b6b6e7c51f2cdca680e
parent626509b4a2f66be31d50f03019afcedf9509133e (diff)
downloadballs-3047a508b71afaae55f3ce543a783c167bd1c200.zip
set resolution and framerate
-rw-r--r--balls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/balls.c b/balls.c
index b0afbd0..5fd61f4 100644
--- a/balls.c
+++ b/balls.c
@@ -14,8 +14,8 @@ enum {
WALLS = DBlack,
PAD = 0,
- WIDTH = 640,
- HEIGHT=480,
+ WIDTH = 800,
+ HEIGHT=600,
KEY_QUIT = 'q' ,
@@ -24,7 +24,7 @@ enum {
VMAX = 3,
MASS = 10,
- FPS = 60,
+ FPS = 30,
NS_PER_SEC = 1000000000,
FRAME_TIME = NS_PER_SEC / FPS,
TICK_BUFSIZE = 4,