| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sly/signal.scm (signal-sample-on): New procedure.
|
|
|
|
| |
* sly/signal.scm: Set record type printer for <signal>.
|
| |
|
|
|
|
| |
* sandbox: Fix it.
|
|
|
|
|
|
| |
* examples/Makefile.am (examples_DATA): Add missing examples. Remove
old ones.
(image_DATA): Add 2048's image asset.
|
|
|
|
|
|
| |
It's not a real particle system anyway.
* examples/particle.scm: Delete.
|
|
|
|
| |
* examples/tilemap.scm: Update.
|
|
|
|
|
|
| |
Every example is a scene graph example!
* examples/scene-graph.scm: Delete.
|
|
|
|
|
|
| |
Made redundant by animation example.
* examples/transition.scm: Delete.
|
| |
|
|
|
|
|
| |
* sly/live-reload.scm (live-reload): Check if file exists before making
stat call. Check ctime in addition to mtime.
|
| |
|
|
|
|
| |
* examples/font.scm: Update.
|
|
|
|
|
|
| |
Coroutines are now more of an implementation detail.
* examples/coroutine.scm: Delete.
|
|
|
|
|
|
|
| |
* examples/2048/2048: Update.
* examples/animation.scm: Likewise.
* examples/common.scm: Likewise.
* examples/simple.scm: Likewise.
|
|
|
|
|
| |
* sly/render/group.scm (group-move, group-place, group-show): Replace
children parameter with group.
|
|
|
|
| |
* sly/render/sprite.scm (sprite): New procedure.
|
|
|
|
| |
* sly/cache.scm: Delete.
|
|
|
|
| |
* examples/2048/2048: Use new group/model procedures.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sly/render/group (draw-group): Use global context by default.
|
|
|
|
| |
* sly/math/tween.scm (tween): Memoize interpolator.
|
|
|
|
| |
* examples/2048/2048: Update to use new Sly API.
|
|
|
|
| |
* sly/math/tween.scm (ease-reflect): Use let instead of let*.
|
|
|
|
|
| |
* sly/render/texture.scm (anchor-texture): Reverse y coordinates between
top and bottom anchors.
|
|
|
|
|
|
| |
* sly/transition.scm: Delete.
* sly/math/tween.scm: New file.
* Makefile.am (SOURCES): Remove deleted file. Add new one.
|
|
|
|
|
| |
* sly/signal.scm (signal-reject): Delete.
(signal-drop): New procedure.
|
|
|
|
| |
* sly/math.scm (modulo*): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-sample): Change 'delay' to 'step'.
|
|
|
|
| |
* sly/signal.scm (signal-time): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-every, signal-since): New procedures.
|
|
|
|
| |
* sly/render/sprite.scm (make-sprite): Disable depth test.
|
|
|
|
| |
* sly/render/font.scm (label): New procedure.
|
|
|
|
|
|
|
| |
* sly/render/mesh.scm (<mesh>) [mesh-vbos]: New field.
(mesh-guardian): New guardian.
(make-mesh): Add new meshes to guardian.
* sly/wrappers/gl.scm (glDeleteVertexArrays): New procedure.
|
|
|
|
|
|
| |
* sly/render/texture.scm (bytevector->texture): New procedure.
(bitmap->texture): Define in terms of 'bytevector->texture'.
* sly/render/font.scm (render-text): Likewise.
|
|
|
|
| |
* sly/render/texture (texture-guardian): Remove 'false-if-exception'.
|
|
|
|
| |
* sly/render/camera.scm (orthographic-camera): Reverse y-axis.
|
|
|
|
| |
* sly/input/keyboard.scm (key-directions): Reverse up and down.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/render/vertex-array.scm: Delete.
* Makefile.am (SOURCES): Delete it.
* sly/render/mesh.scm: Move vertex-array code and rename to mesh.
* sly/render/model.scm (draw-model): s/vertex-array/mesh/
* sly/render/context.scm: Likewise.
* sly/render/shape.scm (make-cube): Return a model object.
* sly/render/font.scm (make-label): Likewise.
* sly/render/sprite.scm (make-sprite): Likewise. Remove 'color'
parameter.
(load-sprite): Likewise.
|
|
|
|
| |
* sly/render/color.scm (transparency): New procedure.
|
|
|
|
| |
* sly/rect.scm: Delete.
|
|
|
|
|
| |
* sly/render/renderer.scm: Delete.
* Makefile.am (SOURCES): Delete it.
|