summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* render: Add tile-map module.David Thompson2015-01-192-0/+130
| | | | | * sly/render/tile-map.scm: New file. * Makefile.am (SOURCES): Add it.
* render: texture: Export texture-parent.David Thompson2015-01-191-0/+1
| | | | * sly/render/texture.scm (texture-parent): Export it.
* utils: Add vlist-ref* and list->vlist*.David Thompson2015-01-192-2/+30
| | | | | * sly/utils.scm (vlist-ref*, list->vlist*): New procedures. * doc/api/utils.texi: Document them.
* render: tileset: Fix compilation warning.David Thompson2015-01-191-0/+1
| | | | * sly/render/tileset.scm: Import (ice-9 format).
* render: tileset: Use custom record type printer.David Thompson2015-01-191-0/+11
| | | | | | | * sly/render/tileset.scm: Use a much more brief, readable record type printer that does not print out all of the tiles, and thus repeating the parent texture n times, which is problematic for large values of n.
* render: tileset: Add texture field.David Thompson2015-01-191-8/+7
| | | | | | * sly/render/tileset.scm (tileset-texture): New procedure. (%make-tileset): New 'texture' argument. (make-tileset, load-tileset): Use new constructor.
* TODO: Add new item.David Thompson2015-01-191-0/+6
| | | | * TODO.org ("Bitmap font rendering from tileset"): New item.
* Update TODO list.David Thompson2015-01-191-3/+13
| | | | * TODO.org: Mark one sub-item as done. Add some new items.
* doc: Document window and game loop modules.David Thompson2015-01-191-0/+107
| | | | * doc/api/init.texi: Add docs!
* window: Fix outdated docstring.David Thompson2015-01-191-1/+1
| | | | * sly/window.scm (close-window): Remove mention of audio in docstring.
* doc: input: Relabel signals as "Scheme Signals".David Thompson2015-01-191-9/+9
| | | | * doc/api/input.texi: s/Signal/Scheme Signal/
* live-reload: Remove global variable.David Thompson2015-01-181-19/+19
| | | | | * sly/live-reload.scm (live-reload-interval): Delete. (live-reload): Add 'polling-interval' argument.
* utils: Remove unused procedures.David Thompson2015-01-181-12/+1
| | | | * sly/utils.scm (any-equal?, logand?): Delete.
* doc: Document utility modules.David Thompson2015-01-181-0/+81
| | | | * doc/api/utils.texi: Document the REPL, live-reload, and utils modules.
* render: tileset: Fix split-texture again.David Thompson2015-01-181-2/+2
| | | | | * sly/render/tileset.scm (split-texture): Swap rows and columns calculation.
* render: tileset: Fix column calculation.David Thompson2015-01-181-1/+1
| | | | | * sly/render/tileset.scm (split-texture): Use texture height in columns calculation, not width.
* doc: Add example input module import snippets.David Thompson2015-01-181-0/+12
| | | | * doc/api/input.texi: Add import snippets.
* doc: Document input modules.David Thompson2015-01-181-0/+171
| | | | | * doc/api/input.texi: Add docs for keyboard, mouse, and joystick input modules.
* framebuffer: Fix syntax problem in 'with-framebuffer'.David Thompson2015-01-121-2/+2
| | | | | * sly/render/framebuffer.scm (with-framebuffer): Bind framebuffer to a syntactic variable that doesn't clash with the 'version-3-0' macro.
* mines: Disable clicking on tiles when you lose.Christopher Allan Webber2015-01-102-1/+3
| | | | | | | | Also add myself to AUTHORS! ;) * AUTHORS: Add me. * examples/mines/mines.scm (board-reveal): Don't reveal tiles in 'game over' state.
* Fix config.scm generation.David Thompson2014-12-261-1/+0
| | | | * configure.ac: Do not generate sly/config.scm. Let the Makefile do it.
* math: rect: Update docstrings.David Thompson2014-12-131-8/+7
| | | | | * sly/math/rect.scm (rect-position, rect-inflate, rect-union, rect-clip, rect-contains?): Update docstrings.
* math: transform: Update docstrings.David Thompson2014-12-131-4/+4
| | | | * sly/math/transform (transform+, transform*): Update docstrings.
* math: Update docstring for make-lerp.David Thompson2014-12-131-7/+7
| | | | * sly/math.scm (make-lerp): Update docstring.
* agenda: Rename procedures.David Thompson2014-12-133-10/+10
| | | | | | | * sly/agenda.scm (tick-agenda!, clear-agenda!): Rename. (agenda-tick!, agenda-clear!): New procedures. * sly/game.scm (start-game-loop): Use agenda-tick!. * sly/repl.scm (start-sly-repl): Likewise.
* docs: Add half-written manual.David Thompson2014-12-139-121/+1183
| | | | | | | | | | | | * doc/game.texi: Delete. * doc/api/init.texi: New file. * doc/api/input.texi: Likewise. * doc/api/math.texi: Likewise. * doc/api/rendering.texi: Likewise. * doc/api/time.texi: Likewise. * doc/api/utils.texi: Likewise. * doc/sly.texi: Add API reference. * doc/Makefile.am (sly_TEXINFOS): Add new files.
* data: Distribute logos in release tarballs.David Thompson2014-12-111-0/+5
| | | | * data/Makefile.am (logosdir, dist_logos_DATA): New variables.
* data: Add SVG logo.David Thompson2014-12-113-1/+472
| | | | | | | | | Huge thanks to Jana Ochse <http://www.2d-retroperspectives.org> for creating this logo! * AUTHORS: Remove Chris Webber. * data/AUTHORS: New file, which includes Chris Webber. * data/logo.svg: New file.
* doc: Begin rewriting manual.David Thompson2014-12-073-39/+340
| | | | | | | * doc/Makefile.am (guile_TEXINFOS): Delete. (sly_TEXINFOS): New variable. * doc/sly.texi: Rewrite. * doc/api/signals.texi: New file.
* signal: Require signal values in signal-let.David Thompson2014-12-071-1/+1
| | | | | * sly/signal.scm (signal-let): Use signal-ref instead of signal-ref-maybe.
* Fix 'make distcheck'.David Thompson2014-12-072-2/+3
| | | | | | * configure.ac: Add 'sly/config.scm' as a config file. * data/Makefile.am (fonts_DATA, shaders_DATA): Delete. (dist_fonts_DATA, dist_shaders_DATA): New variables.
* examples: Fix Makefile.David Thompson2014-12-071-6/+3
| | | | | | * examples/Makefile.am (examples_DATA, imagedir, image_DATA): Delete. (nobase_dist_examples_DATA): New variable that preserves directory structure when 'make install' is run.
* signal: Improve docstrings and parameter names.David Thompson2014-12-071-32/+33
| | | | * sly/signal.scm: Tweak docstrings and parameter names.
* signal: Do not export signal-proc.David Thompson2014-12-071-1/+0
| | | | * sly/signal.scm: Remove signal-proc for export list.
* input: mouse: Fix typo in comment.David Thompson2014-12-071-1/+1
| | | | * sly/input/mouse.scm: Fix typo.
* examples: Recolor some sprites.David Thompson2014-12-062-0/+0
| | | | | * examples/mines/images/exploded.png: Recolor. * examples/mines/images/flag.png: Likewise.
* render: sprite: Remove make-animated-sprite.David Thompson2014-12-061-23/+1
| | | | * sly/render/sprite.scm (make-animated-sprite): Delete.
* Update TODO list.David Thompson2014-12-061-3/+4
|
* examples: Update 2048.David Thompson2014-12-062-10/+5
| | | | | | * examples/2048/2048: Delete. * examples/2048/2048.scm: New file. * examples/Makefile.am (examples_DATA): Add new file. Remove old one.
* examples: Add minesweeper clone.David Thompson2014-12-0616-2/+417
| | | | | | | * examples/mines/mines.scm: New file. * examples/mines/images/*: New files. * examples/Makefile.am (examples_DATA): Add 'mines.scm'. (image_DATA): Add images.
* math: rect: Invert y-axis.David Thompson2014-12-061-25/+27
| | | | | | | * sly/math/rect.scm (rect-top, rect-bottom): Swap. (rect-bottom-left, rect-top-left: Likewise. (rect-union, rect-clip, rect-within?, rect-intersects?, %rect-contains?): Swap top/bottom.
* math: rect: Add rect-clamp.David Thompson2014-12-061-0/+7
| | | | * sly/math/rect.scm (rect-clamp): New procedure.
* math: vector: Add vmap.David Thompson2014-12-061-1/+12
| | | | * sly/math/vector.scm (vmap): New procedure.
* render: group: Properly reset render context before rendering.David Thompson2014-12-061-8/+9
| | | | * sly/render/group.scm (draw-group): Use with-render-context macro.
* render: sprite: Floor anchor coordinates to prevent fuzzy images.David Thompson2014-12-061-2/+2
| | | | * sly/render/sprite.scm (make-sprite): Floor anchor vector.
* input: mouse: Invert y-axis.David Thompson2014-12-061-1/+5
| | | | * sly/input/mouse.scm (mouse-position): Invert y-axis.
* utils: Add chain macro.David Thompson2014-12-061-1/+16
| | | | * sly/utils.scm (chain, chain*): New syntax.
* signal: Add signal-sample-on.David Thompson2014-12-061-1/+6
| | | | * sly/signal.scm (signal-sample-on): New procedure.
* signal: Add custom record type printer.David Thompson2014-12-061-0/+10
| | | | * sly/signal.scm: Set record type printer for <signal>.
* Update README.David Thompson2014-11-301-185/+50
|