summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Update the sandbox.David Thompson2014-11-301-23/+26
| | | | * sandbox: Fix it.
* examples: Update Makefile.David Thompson2014-11-301-4/+6
| | | | | | * examples/Makefile.am (examples_DATA): Add missing examples. Remove old ones. (image_DATA): Add 2048's image asset.
* examples: Delete particles example.David Thompson2014-11-301-84/+0
| | | | | | It's not a real particle system anyway. * examples/particle.scm: Delete.
* examples: Update tile map example.David Thompson2014-11-301-37/+32
| | | | * examples/tilemap.scm: Update.
* examples: Delete scene graph example.David Thompson2014-11-301-181/+0
| | | | | | Every example is a scene graph example! * examples/scene-graph.scm: Delete.
* examples: Delete transition example.David Thompson2014-11-301-45/+0
| | | | | | Made redundant by animation example. * examples/transition.scm: Delete.
* Update TODO list.David Thompson2014-11-301-15/+10
|
* live-reload: Protect against deleted files and also check ctime.David Thompson2014-11-301-2/+5
| | | | | * sly/live-reload.scm (live-reload): Check if file exists before making stat call. Check ctime in addition to mtime.
* examples: Update joystick example.David Thompson2014-11-301-45/+42
|
* examples: Update font example.David Thompson2014-11-301-15/+26
| | | | * examples/font.scm: Update.
* examples: Delete coroutine example.David Thompson2014-11-301-56/+0
| | | | | | Coroutines are now more of an implementation detail. * examples/coroutine.scm: Delete.
* examples: Update a few example programs.David Thompson2014-11-304-73/+90
| | | | | | | * examples/2048/2048: Update. * examples/animation.scm: Likewise. * examples/common.scm: Likewise. * examples/simple.scm: Likewise.
* render: group: Work on groups, not lists of children.David Thompson2014-11-301-6/+14
| | | | | * sly/render/group.scm (group-move, group-place, group-show): Replace children parameter with group.
* render: sprite: Alias make-sprite to sprite.David Thompson2014-11-301-2/+3
| | | | * sly/render/sprite.scm (sprite): New procedure.
* Delete another file that shouldn't have been committed.David Thompson2014-11-301-91/+0
| | | | * sly/cache.scm: Delete.
* examples: Update 2048.David Thompson2014-11-301-27/+29
| | | | * examples/2048/2048: Use new group/model procedures.
* render: Prefix group and model procedures.David Thompson2014-11-302-7/+7
| | | | | | | * sly/render/group.scm (move, place, show): Delete. (group-move, group-place, group-show): New procedures. * sly/render/model.scm (paint, blend): Delete. (model-paint, model-blend): New procedures.
* render: group: Make context optional when drawing.David Thompson2014-11-301-10/+12
| | | | * sly/render/group (draw-group): Use global context by default.
* math: tween: Memoize iterpolation procedure.David Thompson2014-11-301-1/+7
| | | | * sly/math/tween.scm (tween): Memoize interpolator.
* examples: Update 2048.David Thompson2014-11-301-129/+97
| | | | * examples/2048/2048: Update to use new Sly API.
* math: tween: Replace let* with let in ease-reflect.David Thompson2014-11-301-1/+1
| | | | * sly/math/tween.scm (ease-reflect): Use let instead of let*.
* render: texture: Reverse top/bottom in anchor-texture.David Thompson2014-11-301-6/+6
| | | | | * sly/render/texture.scm (anchor-texture): Reverse y coordinates between top and bottom anchors.
* math: Reimplement tween module formerly known as transition.David Thompson2014-11-303-151/+108
| | | | | | * sly/transition.scm: Delete. * sly/math/tween.scm: New file. * Makefile.am (SOURCES): Remove deleted file. Add new one.
* signal: Rename signal-reject to signal-drop.David Thompson2014-11-301-11/+11
| | | | | * sly/signal.scm (signal-reject): Delete. (signal-drop): New procedure.
* math: Add modulo*.David Thompson2014-11-301-1/+7
| | | | * sly/math.scm (modulo*): New procedure.
* signal: Change parameter name in signal-sample.David Thompson2014-11-301-13/+11
| | | | * sly/signal.scm (signal-sample): Change 'delay' to 'step'.
* signal: Add signal-time.David Thompson2014-11-301-1/+6
| | | | * sly/signal.scm (signal-time): New procedure.
* signal: Add signal-every and signal-since.David Thompson2014-11-301-0/+12
| | | | * sly/signal.scm (signal-every, signal-since): New procedures.
* render: sprite: Turn off depth test by default.David Thompson2014-11-301-1/+2
| | | | * sly/render/sprite.scm (make-sprite): Disable depth test.