From c23f81b59db98d7af4fd91a41c9b366823662083 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 14 Jun 2015 20:56:03 -0400 Subject: 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. --- sandbox.in | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'sandbox.in') 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 +;;; Copyright (C) 2015 David Thompson ;;; ;;; 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 ;;; . -;; 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) -- cgit v1.2.3