| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* 2d/window.scm (window-size): Fix improper use of vector literal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 2d/window.scm (open-window): Remove default argument.
* examples/common.scm: Open a window.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 2d/window.scm: (<window>): Don't export.
(window-width, window-height, window-position, window-projection): Use
new signal API.
(open-window): Set 'window-position'.
|
|
|
|
| |
* 2d/window.scm (window-projection): New variable.
|
|
|
|
| |
* 2d/window.scm: New hook.
|
|
|
|
|
|
| |
* 2d/window.scm (open-window): Remove viewport config.
* 2d/game.scm (draw): Add viewport config.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/event.scm: New module.
* 2d/game.scm: Remove event handling code.
* 2d/keyboard.scm: Import (2d event) instead of (2d game).
* 2d/mouse.scm: Import (2d event) instead of (2d game).
* 2d/window.scm: Import (2d event) instead of (2d game).
|
|
|
|
| |
* 2d/window.scm (window-resize-hook): New hook.
|
|
|
|
|
|
|
| |
* 2d/window.scm (open-window, close-window): Remove open/close audio
calls.
* 2d/audio.scm: Open audio when module is imported.
|
|
|
|
|
| |
* 2d/window.scm (window-width, window-height): New signals.
(window-position): Define in terms of signal-map.
|
|
|
|
|
|
|
| |
* 2d/signals.scm (make-signal): Change parameter list.
* 2d/mouse.scm (mouse-position): Remove #:init keyword.
* 2d/time.scm (time-interval, time-delay): Remove #:init keyword.
* 2d/window.scm (window-size): Remove #:init keyword.
|
|
|
|
| |
* 2d/window.scm: Open window on import.
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/game.scm (register-event-handler): New procedure.
(mouse-*, key-*, window-*): Remove signals.
* 2d/window.scm (window-size): New signal.
* 2d/mouse.scm: New module.
* 2d/keyboard.scm: New module.
|
|
|
|
| |
* 2d/window.scm (with-window): Use dynamic-wind.
|
|
|
|
|
|
|
|
|
| |
* 2d/window.scm (<window>): New record type.
(open-window): Use window object.
(close-window): Change docstring.
* 2d/game.scm (<game>, make-game): Remove window properties.
(run-game): Remove window logic.
|
| |
|
| |
|
|
|
|
|
| |
Users will no longer have to interface directly with this module. They
will simply specify window parameters when creating game objects.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|