summaryrefslogtreecommitdiff
path: root/sandbox.in
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-06-14 20:56:03 -0400
committerDavid Thompson <davet@gnu.org>2015-06-14 20:58:52 -0400
commitc23f81b59db98d7af4fd91a41c9b366823662083 (patch)
tree61e2bdb80e1d8e74419c813c74bef04ae44d36ff /sandbox.in
parent0ec98c95075e09567ef05a84dae8f6de40920202 (diff)
Add composite (sly) module.
* sly.scm: New file. * Makefile.am (SOURCES): Add it. * sandbox.in: Use new module. * examples/common.scm: Likewise. * examples/font.scm: Likewise. * README ("Example"): Update example.
Diffstat (limited to 'sandbox.in')
-rw-r--r--sandbox.in25
1 files changed, 3 insertions, 22 deletions
diff --git a/sandbox.in b/sandbox.in
index 6929849..f58838b 100644
--- a/sandbox.in
+++ b/sandbox.in
@@ -2,7 +2,7 @@
!#
;;; Sly
-;;; Copyright (C) 2014 David Thompson <dthompson2@worcester.edu>
+;;; Copyright (C) 2015 David Thompson <davet@gnu.org>
;;;
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
@@ -18,28 +18,9 @@
;;; along with this program. If not, see
;;; <http://www.gnu.org/licenses/>.
-;; Include almost every Sly module for convenience.
-(use-modules (sly audio)
- (sly fps)
- (sly game)
- (sly signal)
- (sly window)
- (sly repl)
- (sly utils)
- (sly render color)
- (sly render font)
- (sly render sprite)
- (sly render texture)
- (sly render model)
- (sly render camera)
- (sly render scene)
- (sly input keyboard)
- (sly input mouse)
- (sly math rect)
- (sly math transform)
- (sly math vector))
+(use-modules (sly))
-(open-window)
+(sly-init)
(start-sly-repl)
(add-hook! window-close-hook stop-game-loop)