| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* sly/render/tileset.scm (<tileset>) [rows, columns]: New fields.
(tileset-rows, tileset-columns): New procedures.
(split-texture): Return rows and columns.
(make-tileset, load-tileset): Use new constructor.
|
| |
|
|
|
|
| |
* examples/tilemap.scm: Update it.
|
|
|
|
|
| |
* sly/render/tile-map.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* sly/render/texture.scm (texture-parent): Export it.
|
|
|
|
|
| |
* sly/utils.scm (vlist-ref*, list->vlist*): New procedures.
* doc/api/utils.texi: Document them.
|
|
|
|
| |
* sly/render/tileset.scm: Import (ice-9 format).
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* sly/render/tileset.scm (tileset-texture): New procedure.
(%make-tileset): New 'texture' argument.
(make-tileset, load-tileset): Use new constructor.
|
|
|
|
| |
* TODO.org ("Bitmap font rendering from tileset"): New item.
|
|
|
|
| |
* TODO.org: Mark one sub-item as done. Add some new items.
|
|
|
|
| |
* doc/api/init.texi: Add docs!
|
|
|
|
| |
* sly/window.scm (close-window): Remove mention of audio in docstring.
|
|
|
|
| |
* doc/api/input.texi: s/Signal/Scheme Signal/
|
|
|
|
|
| |
* sly/live-reload.scm (live-reload-interval): Delete.
(live-reload): Add 'polling-interval' argument.
|
|
|
|
| |
* sly/utils.scm (any-equal?, logand?): Delete.
|
|
|
|
| |
* doc/api/utils.texi: Document the REPL, live-reload, and utils modules.
|
|
|
|
|
| |
* sly/render/tileset.scm (split-texture): Swap rows and columns
calculation.
|
|
|
|
|
| |
* sly/render/tileset.scm (split-texture): Use texture height in columns
calculation, not width.
|
|
|
|
| |
* doc/api/input.texi: Add import snippets.
|
|
|
|
|
| |
* doc/api/input.texi: Add docs for keyboard, mouse, and joystick input
modules.
|
|
|
|
|
| |
* sly/render/framebuffer.scm (with-framebuffer): Bind framebuffer to a
syntactic variable that doesn't clash with the 'version-3-0' macro.
|
|
|
|
|
|
|
|
| |
Also add myself to AUTHORS! ;)
* AUTHORS: Add me.
* examples/mines/mines.scm (board-reveal): Don't reveal tiles in 'game
over' state.
|
|
|
|
| |
* configure.ac: Do not generate sly/config.scm. Let the Makefile do it.
|
|
|
|
|
| |
* sly/math/rect.scm (rect-position, rect-inflate, rect-union, rect-clip,
rect-contains?): Update docstrings.
|
|
|
|
| |
* sly/math/transform (transform+, transform*): Update docstrings.
|
|
|
|
| |
* sly/math.scm (make-lerp): Update docstring.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/Makefile.am (logosdir, dist_logos_DATA): New variables.
|
|
|
|
|
|
|
|
|
| |
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/Makefile.am (guile_TEXINFOS): Delete.
(sly_TEXINFOS): New variable.
* doc/sly.texi: Rewrite.
* doc/api/signals.texi: New file.
|
|
|
|
|
| |
* sly/signal.scm (signal-let): Use signal-ref instead of
signal-ref-maybe.
|
|
|
|
|
|
| |
* 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/Makefile.am (examples_DATA, imagedir, image_DATA): Delete.
(nobase_dist_examples_DATA): New variable that preserves directory
structure when 'make install' is run.
|
|
|
|
| |
* sly/signal.scm: Tweak docstrings and parameter names.
|
|
|
|
| |
* sly/signal.scm: Remove signal-proc for export list.
|
|
|
|
| |
* sly/input/mouse.scm: Fix typo.
|
|
|
|
|
| |
* examples/mines/images/exploded.png: Recolor.
* examples/mines/images/flag.png: Likewise.
|
|
|
|
| |
* sly/render/sprite.scm (make-animated-sprite): Delete.
|
| |
|
|
|
|
|
|
| |
* examples/2048/2048: Delete.
* examples/2048/2048.scm: New file.
* examples/Makefile.am (examples_DATA): Add new file. Remove old one.
|
|
|
|
|
|
|
| |
* examples/mines/mines.scm: New file.
* examples/mines/images/*: New files.
* examples/Makefile.am (examples_DATA): Add 'mines.scm'.
(image_DATA): Add images.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sly/math/rect.scm (rect-clamp): New procedure.
|
|
|
|
| |
* sly/math/vector.scm (vmap): New procedure.
|
|
|
|
| |
* sly/render/group.scm (draw-group): Use with-render-context macro.
|
|
|
|
| |
* sly/render/sprite.scm (make-sprite): Floor anchor vector.
|
|
|
|
| |
* sly/input/mouse.scm (mouse-position): Invert y-axis.
|
|
|
|
| |
* sly/utils.scm (chain, chain*): New syntax.
|