diff options
Diffstat (limited to 'examples/common.scm')
-rw-r--r-- | examples/common.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/common.scm b/examples/common.scm index b9675eb..b26186a 100644 --- a/examples/common.scm +++ b/examples/common.scm @@ -21,9 +21,12 @@ (2d keyboard) (2d repl) (2d signal) + (2d sprite) (2d window)) (open-window) +(enable-sprites) + (add-hook! key-press-hook (lambda (key unicode) (when (eq? key 'escape) (quit-game)))) |