summaryrefslogtreecommitdiff
path: root/examples/simple.scm
Commit message (Collapse)AuthorAgeFilesLines
* math: Move rect module to sly/math directory.David Thompson2014-11-081-1/+1
| | | | | | | | * sly/rect.scm: Delete. * sly/math/rect.scm: New file. * Makefile.am (SOURCES): Add new file. Delete old one. * sly/render/camera.scm: Use (sly math rect) module. * examples/simple.scm: Likewise.
* math: Move transform module to sly/math directory.David Thompson2014-11-081-1/+1
| | | | | | | | | | | | | * sly/transform.scm: Delete. * sly/render/transform.scm: New file. * Makefile.am (SOURCES): Add new file. Delete old one. * sly/render/camera.scm: Use (sly math transform). * sly/render/mesh.scm: Likewise. * sly/render/renderer.scm: Likewise. * sly/render/scene.scm: Likewise. * sly/render/shader.scm: Likewise. * sly/window.scm: Likewise. * examples/simple.scm: Likewise.
* render: Move scene module to sly/render directory.David Thompson2014-11-081-1/+1
| | | | | | | | * sly/scene.scm: Delete. * sly/render/scene.scm: New file. * Makefile.am (SOURCES): Add new file. Delete old one. * examples/simple.scm: Use (sly render scene). * examples/tilemap.scm: Likewise.
* render: Move sprite module to sly/render directory.David Thompson2014-11-071-1/+1
| | | | | | | | | | | | | | | * sly/sprite.scm: Delete. * sly/render/sprite.scm: New file. * Makefile.am (SOURCES): Add new file and delete old one. * sly/font.scm: Use (sly render sprite). * examples/animation.scm: Likewise. * examples/common.scm: Likewise. * examples/coroutine.scm: Likewise. * examples/joystick.scm: Likewise. * examples/particles.scm: Likewise. * examples/simple.scm: Likewise. * examples/tilemap.scm: Likewise. * examples/transition.scm: Likewise.
* examples: Update simple example.David Thompson2014-09-221-6/+24
| | | | * examples/simple.scm: Update.
* Rename guile-2d to Sly!David Thompson2014-06-281-5/+5
| | | | Massive find/replace job.
* Replace vector2 module with a more generic vector module.David Thompson2014-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * 2d/vector2.scm: Delete it. * 2d/vector.scm: New file. * Makefile.am (SOURCES): s/vector2/vector. * 2d/font.scm: * 2d/keyboard.scm: * 2d/mouse.scm: * 2d/rect.scm: * 2d/shader.scm: * 2d/sprite.scm: * 2d/texture.scm: * 2d/transform.scm: * 2d/window.scm: * examples/2048/2048: * examples/animation.scm: * examples/coroutine.scm: * examples/font.scm: * examples/particles.scm: * examples/simple.scm: * examples/tilemap.scm: Use vectors instead of defunct vector2.
* Rename game loop procedures and remove parameter.David Thompson2014-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | * 2d/game.scm (tick-interval): No longer a parameter. (run-game-loop, start-game-loop): Rename. (quit-game, stop-game-loop): Rename. * examples/animation.scm: Use start-game-loop and stop-game-loop. * examples/common.scm: Use start-game-loop and stop-game-loop. * examples/coroutine.scm: Use start-game-loop and stop-game-loop. * examples/font.scm: Use start-game-loop and stop-game-loop. * examples/guile-2048/guile-2048.scm: Use start-game-loop and stop-game-loop. * examples/particles.scm: Use start-game-loop and stop-game-loop. * examples/simple.scm: Use start-game-loop and stop-game-loop. * examples/tilemap.scm: Use start-game-loop and stop-game-loop.
* Change license to GPLv3+.David Thompson2014-03-081-0/+17
|
* Update some of the example programs to use the new API.David Thompson2014-01-101-15/+8
| | | | | | | | | | | | * 2d/examples/common.scm: New file. * 2d/examples/coroutine.scm: Updated. * 2d/examples/font.scm: Updated. * 2d/examples/simple.scm: Updated. * 2d/examples/tilemap.scm: Updated.
* Update examples.David Thompson2013-11-041-1/+0
|
* Update examples to use new scene/stage system.David Thompson2013-11-031-11/+15
|
* Change an example graphic and add credits.David Thompson2013-09-271-1/+1
|
* Update simple example.David Thompson2013-09-061-19/+9
| | | | I am loving how few lines it takes to create a running application.
* Update simple demo to use a game object.David Thompson2013-09-061-1/+1
|
* Add a *running* flag to the game loop.David Thompson2013-09-061-20/+10
|
* Replace old vector module with new vector2 module.David Thompson2013-08-271-3/+4
|
* Remove commented code from example.David Thompson2013-08-171-4/+0
|
* Fix example.David Thompson2013-08-171-2/+4
|
* Update examples.David Thompson2013-08-151-7/+7
|
* Update examples.David Thompson2013-07-281-3/+3
|
* Update examples.David Thompson2013-07-221-3/+1
|
* Update simple demo.David Thompson2013-07-211-2/+6
|
* Update examples to reflect changes in keyboard events.David Thompson2013-07-211-4/+2
|
* Use init-2d in all examples.David Thompson2013-07-171-0/+2
|
* Fix indenting.David Thompson2013-07-061-1/+1
|
* Reorganize examples.David Thompson2013-07-061-1/+1
|
* Update simple example program.David Thompson2013-06-251-6/+6
|
* Update examples to use new keycode enumeration.David Thompson2013-06-251-6/+5
|
* Update simple demo.David Thompson2013-06-251-3/+5
|
* Add some rough example programs.David Thompson2013-06-241-0/+36