| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* sly/wrappres/gl.scm (gl-scissor): New procedure.
|
|
|
|
| |
* sly/window.scm (open-window): Enable GL scissor test.
|
|
|
|
| |
* sly/helpers.scm: Remove (sly game) import.
|
|
|
|
|
| |
* 2d/shader.scm (uniform-location, attribute-location): Accept a string
instead of a symbol.
|
|
|
|
| |
* 2d/window.scm: Reset SDL video mode when video-resize is triggered.
|
|
|
|
| |
* 2d/window.scm (open-window): Enable cull-face and depth-test.
|
|
|
|
|
| |
* 2d/game.scm (draw): Use window-size instead of window-width and
window-height.
|
|
|
|
|
|
| |
* 2d/wrappers/gl.scm (glGenVertexArrays, glBindVertexArray): New
procedures.
(with-gl-client-state): New macro.
|
|
|
|
| |
* 2d/texture.scm (with-texture): New macro.
|
| |
|
|
|
|
| |
* sly/signal.scm (signal-let, signal-let*): New macros.
|
|
|
|
| |
* sly/signal.scm (signal-sample): Fix memory leak.
|
|
|
|
| |
* README.org ("Community"): Add it.
|
|
|
|
|
| |
* AUTHORS: Add Christopher Allan Webber.
* data/mascot.txt: New file.
|
|
|
|
| |
* examples/2048/2048: Add local variable setting for compile-command.
|
|
|
|
| |
* sly/math.scm (linear-scale): Tweak docstring.
|
|
|
|
|
|
| |
* sly/joystick.scm (joystick-num-axes, joystick-num-buttons,
axis-value-raw, make-directional-signal-raw, axis-scale, axis-value,
make-directional-signal): Add punctuation.
|
|
|
|
|
|
|
|
| |
* sly/joystick.scm: New file.
* examples/joystick.scm: New file.
* Makefile.am (SOURCES): Add sly/joystick.scm.
* TODO.org (Input): Mark as 'done'.
* sly/math.scm (linear-scale): New procedure.
|
|
|
|
|
| |
* TODO.org ("0.1 Release"): Rewrite.
("0.2 Release"): Remove.
|
|
|
|
| |
* sly/signal.scm (signal-count): Add start and step parameters.
|
|
|
|
| |
* sly/signal.scm (signal-constant, signal-tap): Fix docstrings.
|
|
|
|
| |
* sly/signal.scm (signal-switch): New procedure.
|
|
|
|
|
| |
* sly/repl.scm (start-sly-repl): Add error handling.
(resume-game-loop): New procedure.
|
|
|
|
|
|
| |
* sly/game.scm (after-game-loop-error-hook): New variable
(display-game-loop-error): New procedure.
(start-game-loop): Add error handling.
|
|
|
|
| |
* sly/agenda.scm (%schedule): Return unspecified.
|
|
|
|
|
| |
* sly/transform.scm (transform*): Use a single array to accumulate
result.
|
|
|
|
|
| |
* AUTHORS: New file.
* examples/2048/2048: Add copyright info for Jordan Russel.
|
|
|
|
|
|
|
|
|
| |
* sly/game.scm (tick-interval, max-ticks-per-frame): Remove them.
(draw, update, alpha, frame-sleep): Move within start-game-loop
closure.
(interval): New procedure.
(start-game-loop): Add tick-rate, frame-rate, and max-ticks-per-frame
keyword arguments.
|
|
|
|
|
|
| |
* examples/2048/2048 (board-win?): Check the board passed in, not a new one.
(board-insert): Simplify.
(replace-at): New procedure.
|
|
|
|
| |
* sly/lru-cache.scm: Delete it.
|
|
|
|
|
|
| |
* sly/font.scm (%label-text, %label-position, %label-color): New
procedures.
(label-text, label-position, label-color): Use signal-ref-maybe.
|
|
|
|
|
|
|
| |
* sly/sprite.scm (%sprite-position, %sprite-scale, %sprite-rotation,
%sprite-color): New procedures.
(sprite-position, sprite-scale, sprite-rotation, sprite-color): Use
signal-ref-maybe.
|
|
|
|
| |
* examples/transition.scm: New file.
|
|
|
|
| |
* sandbox: s/vector2/vector/
|
|
|
|
|
| |
* sly/transition.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* sly/signal.scm (signal-drop-repeats): New procedure.
|
|
|
|
| |
* sly/color.scm (color-scale): New procedure.
|
|
|
|
| |
* sly/math.scm (pi/2): New variable.
|
| |
|
|
|
|
| |
* README.org (Dependencies): Change guile version to 2.0.11.
|
|
|
|
|
| |
* sly/config.scm: Delete it.
* .gitignore: Add sly/config.scm.
|
|
|
|
| |
Massive find/replace job.
|
|
|
|
| |
* 2d/window.scm (window-size): Fix improper use of vector literal.
|
|
|
|
| |
* 2d/transform (transform-position): Delete it.
|
|
|
|
| |
* 2d/transform.scm (translate): Support 3D vector as argument.
|
|
|
|
| |
* 2d/transform.scm (scale): Support 3D vectors and scalars as arguments.
|
|
|
|
|
|
| |
* 2d/transform.scm (make-transform*): Delete it.
(transform-translate, transform-scale): Rename.
(translate, scale): New procedures.
|
|
|
|
|
|
|
| |
* 2d/transform.scm (rotate-x, rotate-y, rotate-z): New
procedures.
(transform-rotate): Renamed.
(make-transform*): Use rotate-z for now.
|
|
|
|
| |
* README.org: Replace references to vector2 with vectors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|