diff options
author | David Thompson <davet@gnu.org> | 2015-06-14 20:56:03 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-14 20:58:52 -0400 |
commit | c23f81b59db98d7af4fd91a41c9b366823662083 (patch) | |
tree | 61e2bdb80e1d8e74419c813c74bef04ae44d36ff /README | |
parent | 0ec98c95075e09567ef05a84dae8f6de40920202 (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 'README')
-rw-r--r-- | README | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -28,14 +28,10 @@ Sly differentiates itself from most other game engines by encouraging Here is the simplest Sly application (so far). #+BEGIN_SRC scheme - (use-modules (sly game) - (sly signal) - (sly window) - (sly math vector) - (sly render camera) - (sly render model) - (sly render sprite) - (sly render scene)) + (use-modules (sly)) + + ;; Create OpenGL context and do other setup. + (sly-init) ;; The object to render. (define model |