summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
Diffstat (limited to '2d')
-rw-r--r--2d/game-loop.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm
index 1c22ffc..199cb80 100644
--- a/2d/game-loop.scm
+++ b/2d/game-loop.scm
@@ -40,11 +40,20 @@
run-game-loop
current-fps))
+;;;
+;;; Constants
+;;;
+
(define target-fps 60)
-(define *fps* 0)
(define tick-interval (floor (/ 1000 target-fps)))
;;;
+;;; Globals
+;;;
+
+(define *fps* 0)
+
+;;;
;;; Hooks
;;;