| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 2d/font.scm (font-shader): Set to #f initially.
(enable-fonts): New procedure.
* examples/font.scm: Enable fonts.
|
|
|
|
|
|
|
| |
* 2d/sprite.scm (sprite-shader): Set to #f initially.
(enable-sprites): New procedure.
* 2d/common.scm: Enable sprites.
|
|
|
|
|
|
| |
* 2d/window.scm (open-window): Remove default argument.
* examples/common.scm: Open a window.
|
|
|
|
|
|
| |
* 2d/repl.scm (start-2d-repl): New procedure.
* examples/common.scm: Start the REPL server.
* sandbox: Start the REPL server.
|
| |
|
|
|
|
| |
* examples/font.scm: Remove GC counter.
|
|
|
|
|
|
|
|
|
| |
* 2d/repl.scm: New file.
* 2d/repl/repl.scm: Delete it.
* 2d/repl/server.scm: Delete it.
* Makfile.am (REPL_SOURCES): Delete it.
(SOURCES): Add '2d/repl.scm'.
* examples/common.scm: Use cooperative REPL module.
|
|
|
|
|
|
|
|
| |
* examples/Makefile.am (examples_DATA): Remove 'shader.scm'.
(shaderdir, shader_DATA): Remove.
* examples/shader.scm: Delete file.
* examples/shaders/fragment-shader.glsl: Delete file.
* examples/shaders/vertex-shader.glsl: Delete file.
|
|
|
|
| |
* examples/common.scm: Import (2d signal).
|
|
|
|
|
| |
* examples/common.scm: Change format for displaying FPS in console.
* examples/font.scm: Use new signal API generating labels.
|
|
|
|
| |
* examples/Makefile.am (fontdir, font_DATA): Delete them.
|
|
|
|
| |
* examples/tilemap.scm: Remove references to sprite batches.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FTGL has been dropped in favor of SDL_ttf.
* 2d/font: Rewrite everything!
* 2d/wrappers/ftgl.scm: Delete it.
* configure.ac: Check for SDL_ttf.
* data/Makefile.am (shaders_DATA): Add font shaders.
* data/shaders/font-fragment.glsl: New shader.
* data/shaders/font-vertex.glsl: New shader.
* examples/font.scm: Rewrite font example.
* examples/fonts/AUTHORS: Delete it.
* examples/fonts/Boxy-Bold.ttf: Delete it.
|
|
|
|
|
|
|
| |
This slows down the demo considerably, but sprite batches need to be
rewritten in order to be actually performant and of real value.
* examples/particle.scm (batch): Delete it.
|
|
|
|
| |
* examples/common.scm: Use (2d fps) module.
|
|
|
|
| |
* examples/Makefile.am (AUTOMAKE_OPTIONS): Remove it.
|
|
|
|
|
|
| |
* Makefile.am (SUBDIRS): Add 'examples'.
* configure.ac (AC_CONFIG_FILES): Add 'examples/Makefile'.
* examples/Makefile.am: New file.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* examples/common.scm: Add window close hook.
|
| |
|
| |
|
| |
|
|
|
|
| |
* examples/particles.scm: Update example.
|
|
|
|
| |
* examples/images/ghost.png: Delete it.
|
|
|
|
| |
* examples/images/p1_front.png: New sprite.
|
|
|
|
| |
* 2d/examples/animation.scm: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Doesn't work yet. Just committing what I have so far.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit d1ecb21fca03cdd0e9360a4f1b88c7e05a9354e2.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Sorry to everyone that downloaded 0.1 and was annoyed!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
I am loving how few lines it takes to create a running application.
|
| |
|