summaryrefslogtreecommitdiff
path: root/examples/font.scm
Commit message (Collapse)AuthorAgeFilesLines
* Rename guile-2d to Sly!David Thompson2014-06-281-10/+10
| | | | Massive find/replace job.
* Replace vector2 module with a more generic vector module.David Thompson2014-06-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add current-agenda parameter.David Thompson2014-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 2d/agenda.scm (current-agenda): New variable. (with-agenda): New macro. (agenda-time, tick-agenda!, clear-agenda!, schedule) (schedule-interval, schedule-each, wait): Remove agenda parameter. * 2d/game.scm (game-agenda): Delete it. (update): Tick current agenda. * 2d/helpers.scm (define-guardian): Remove agenda argument. * 2d/repl.scm (start-2d-repl): Remove agenda argument to schedule-each. * 2d/signal.scm (signal-sample, signal-delay, signal-throttle): Remove agenda parameter. * 2d/sprite.scm: * examples/common.scm: * examples/coroutine.scm: * examples/font.scm: * examples/particles.scm: Remove mention of game-agenda. * README.org: Update example snippets.
* 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.
* Don't load font shaders upon importing (2d font) module.David Thompson2014-03-291-0/+2
| | | | | | | * 2d/font.scm (font-shader): Set to #f initially. (enable-fonts): New procedure. * examples/font.scm: Enable fonts.
* Change license to GPLv3+.David Thompson2014-03-081-0/+17
|
* Update font example.David Thompson2014-03-081-19/+5
| | | | * examples/font.scm: Remove GC counter.
* Update font example.David Thompson2014-02-171-26/+20
| | | | | * examples/common.scm: Change format for displaying FPS in console. * examples/font.scm: Use new signal API generating labels.
* Rewrite font module.David Thompson2014-02-161-8/+42
| | | | | | | | | | | | | | 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.
* 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-6/+7
|
* Update font demo.David Thompson2013-10-231-8/+12
|
* Update the rest of the examples to use the new declarative game stuff.David Thompson2013-09-061-34/+18
|
* Rename apply-color to use-color.David Thompson2013-08-271-1/+1
|
* Replace old vector module with new vector2 module.David Thompson2013-08-271-2/+3
|
* 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-171-0/+38