diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 16:46:39 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 16:46:39 -0400 |
| commit | 3047a508b71afaae55f3ce543a783c167bd1c200 (patch) | |
| tree | 7e94c37345ca4e134b2c0b6b6e7c51f2cdca680e | |
| parent | 626509b4a2f66be31d50f03019afcedf9509133e (diff) | |
| download | balls-3047a508b71afaae55f3ce543a783c167bd1c200.zip | |
set resolution and framerate
| -rw-r--r-- | balls.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |