summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Remove AUTOMAKE_OPTIONS from examples/Makefile.am.David Thompson2014-02-111-2/+0
| | | | * examples/Makefile.am (AUTOMAKE_OPTIONS): Remove it.
* Add examples Makefile.David Thompson2014-02-091-0/+27
| | | | | | * Makefile.am (SUBDIRS): Add 'examples'. * configure.ac (AC_CONFIG_FILES): Add 'examples/Makefile'. * examples/Makefile.am: New file.
* Add shader module.David Thompson2014-02-093-0/+53
| | | | | | | | * 2d/shader.scm: New module. * Makefile.am: Add 2d/shader.scm to SOURCES. * examples/shader.scm: New example. * examples/shaders/fragment-shader.glsl: New shader. * examples/shaders/vertex-shader.glsl: New shader.
* Add new coroutine macro.David Thompson2014-02-061-11/+9
| | | | | | | | * 2d/coroutine.scm (call-with-coroutine): New name for coroutine. (coroutine): New macro. (colambda, codefine, codefine*): Use call-with-coroutine. * examples/coroutine.scm: Use coroutine macro. * README.org: Update coroutine and agenda examples.
* Remove dynamic scoping of agendas.David Thompson2014-02-062-4/+4
| | | | | | | | | | | | | | | | * 2d/agenda.scm: (*global-agenda*, current-agenda, with-agenda): Delete. (agenda?, agenda-time): Export. (schedule-every, schedule-each): Rename schedule-every to schedule-each. (schedule-next): Delete. * 2d/game.scm: (game-agenda): New variable. (update): Tick game-agenda. * 2d/repl.scm: Use new agenda API. * 2d/sprite.scm: Use new agenda API. * 2d/time.scm: (time-every, time-each, time-delay): Change signature and use new agenda API. * examples/coroutine.scm: Use new agenda API. * examples/particles.scm: Use new agenda API.
* Close example programs when window is closed.David Thompson2014-01-261-0/+4
| | | | * examples/common.scm: Add window close hook.
* Remove obsolete examples.David Thompson2014-01-204-233/+0
|
* Update example image authors file.David Thompson2014-01-202-3/+5
|
* Fix coroutine example to actually use coroutines.David Thompson2014-01-131-7/+11
|
* Update particle example.David Thompson2014-01-121-38/+25
| | | | * examples/particles.scm: Update example.
* Remove ghost sprite.David Thompson2014-01-121-0/+0
| | | | * examples/images/ghost.png: Delete it.
* Add example sprite.David Thompson2014-01-111-0/+0
| | | | * examples/images/p1_front.png: New sprite.
* Update animation example.David Thompson2014-01-101-14/+7
| | | | * 2d/examples/animation.scm: Updated.
* Update some of the example programs to use the new API.David Thompson2014-01-105-69/+55
| | | | | | | | | | | | * 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.
* Start working on pong example.David Thompson2013-12-023-0/+82
| | | | Doesn't work yet. Just committing what I have so far.
* Use signal-fold in example.David Thompson2013-12-021-7/+6
|
* Update example.David Thompson2013-12-011-14/+15
|
* Update example.David Thompson2013-12-011-23/+43
|
* Add temporary rewrite-test example.David Thompson2013-11-301-0/+32
|
* Update examples.David Thompson2013-11-048-8/+0
|
* Update examples to use new scene/stage system.David Thompson2013-11-038-104/+122
|
* Revert "Export scene type tag."David Thompson2013-11-031-8/+9
| | | | This reverts commit d1ecb21fca03cdd0e9360a4f1b88c7e05a9354e2.
* Export scene type tag.David Thompson2013-11-031-9/+8
|
* Update action and animation example to use new stage variables.David Thompson2013-10-302-11/+7
|
* Update font demo.David Thompson2013-10-231-8/+12
|
* Update coroutine demo.David Thompson2013-10-231-15/+17
|
* Update actions example.David Thompson2013-10-231-13/+16
|
* Update animation demo.David Thompson2013-10-231-8/+14
|
* Fix broken examples due to a renamed image file. :(David Thompson2013-10-023-3/+3
| | | | Sorry to everyone that downloaded 0.1 and was annoyed!
* Change an example graphic and add credits.David Thompson2013-09-276-1/+11
|
* Add comment.David Thompson2013-09-061-0/+2
|
* Add example that shows off multiple scenes.David Thompson2013-09-061-0/+55
|
* Update the rest of the examples to use the new declarative game stuff.David Thompson2013-09-066-194/+141
|
* 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
|
* Rename apply-color to use-color.David Thompson2013-08-271-1/+1
|
* Replace old vector module with new vector2 module.David Thompson2013-08-277-38/+40
|
* Update tilemap example.David Thompson2013-08-261-16/+19
|
* Update action example.David Thompson2013-08-211-18/+10
|
* Update font example.David Thompson2013-08-181-13/+7
|
* Update font example.David Thompson2013-08-181-2/+14
|
* Update font example.David Thompson2013-08-171-8/+4
|
* Create a font example.David Thompson2013-08-172-0/+38
|
* Remove commented code from example.David Thompson2013-08-171-4/+0
|
* Fix example.David Thompson2013-08-171-2/+4
|
* Update examples.David Thompson2013-08-156-51/+44
|
* Add action example.David Thompson2013-07-291-0/+57
|
* Update examples.David Thompson2013-07-285-12/+12
|
* Update examples.David Thompson2013-07-225-24/+17
|