diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 16:50:18 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 16:50:18 -0400 |
| commit | 89e07aae62dae995faa7540fc38e66fa0c0f7369 (patch) | |
| tree | 54114ec6929ecefa4d1a06f7673b2dca85f3a584 | |
| parent | 5c8d1c3dc5e9b30f57aefe3c3993b0f61d22d2ff (diff) | |
| download | balls-89e07aae62dae995faa7540fc38e66fa0c0f7369.zip | |
set framerate and resolution
| -rw-r--r-- | balls.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,8 +14,8 @@ enum { WALLS = DBlack, PAD = 0, - WIDTH = 800, - HEIGHT=600, + WIDTH = 960, + HEIGHT=640, KEY_QUIT = 'q' , @@ -24,7 +24,7 @@ enum { VMAX = 3, MASS = 10, - FPS = 30, + FPS = 60, NS_PER_SEC = 1000000000, FRAME_TIME = NS_PER_SEC / FPS, TICK_BUFSIZE = 4, |