Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove dynamic scoping of agendas. | David Thompson | 2014-02-06 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | * 2d/agenda.scm: (*global-agenda*, current-agenda, with-agenda): Delete. (agenda?, agenda-time): Export. (schedule-every, schedule-each): Rename schedule-every to schedule-each. (schedule-next): Delete. * 2d/game.scm: (game-agenda): New variable. (update): Tick game-agenda. * 2d/repl.scm: Use new agenda API. * 2d/sprite.scm: Use new agenda API. * 2d/time.scm: (time-every, time-each, time-delay): Change signature and use new agenda API. * examples/coroutine.scm: Use new agenda API. * examples/particles.scm: Use new agenda API. | ||||
* | Add new scheduling procedures and rename existing ones. | David Thompson | 2014-01-07 | 1 | -1/+1 |
| | | | | | | | | * 2d/agenda.scm (agenda-schedule, schedule): Rename. (agenda-schedule-interval, schedule-interval): Rename. (schedule-next, schedule-every): New procedures. * 2d/sprite.scm: Use schedule-every. * 2d/time.scm (time-every): Use schedule-interval. | ||||
* | Allow signals to be used for certain sprite properties. | David Thompson | 2013-11-30 | 1 | -6/+7 |
| | | | | | * 2d/sprite.scm (update-sprite-vertices!) (draw-sprite-batched): Use signals. | ||||
* | Clean up docstrings for sprite module. | David Thompson | 2013-09-18 | 1 | -13/+29 |
| | |||||
* | Animate sprites during game updates instead of on render. | David Thompson | 2013-09-15 | 1 | -2/+26 |
| | | | | | Frame rate is independent of the update rate, so the old way didn't make sense. | ||||
* | Change animation API. | David Thompson | 2013-09-15 | 1 | -21/+19 |
| | | | | | | | | This should have been broken into more commits, but here we are: Rename <animation-state> to <animator>. Better name, less verbose. Make animators mutable because it makes more sense than when animation-states where immutable. Update sprite module to reflect the animation API changes. | ||||
* | Clean up lines longer than 80 characters. | David Thompson | 2013-08-29 | 1 | -3/+6 |
| | |||||
* | Fix issue #9. | David Thompson | 2013-08-29 | 1 | -3/+1 |
| | | | | | draw-sprite-vertices was drawing the entire vertex array rather than only drawing the amount specified in the size argument. | ||||
* | Replace old vector module with new vector2 module. | David Thompson | 2013-08-27 | 1 | -6/+8 |
| | |||||
* | Fix typo. | David Thompson | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Use new color module. | David Thompson | 2013-08-17 | 1 | -7/+7 |
| | |||||
* | Move gl.scm to wrappers subdirectory. | David Thompson | 2013-08-14 | 1 | -1/+1 |
| | |||||
* | Whitespace. | David Thompson | 2013-08-02 | 1 | -2/+0 |
| | |||||
* | Refactor pack-sprite-vertices. | David Thompson | 2013-08-02 | 1 | -52/+36 |
| | |||||
* | Refactor sprite vertex array rendering procedures. | David Thompson | 2013-08-02 | 1 | -65/+38 |
| | |||||
* | Simplify sprite module now that textures and texture regions are a unified type. | David Thompson | 2013-08-02 | 1 | -69/+27 |
| | |||||
* | Only perform sprite rotation math when necessary. | David Thompson | 2013-07-30 | 1 | -28/+57 |
| | |||||
* | Refactor sprite vertex packing. | David Thompson | 2013-07-29 | 1 | -121/+109 |
| | |||||
* | Only update sprite vertex list when the sprite is dirty. | David Thompson | 2013-07-29 | 1 | -7/+23 |
| | |||||
* | Fix figl enum. | David Thompson | 2013-07-28 | 1 | -2/+2 |
| | |||||
* | Add rotation and scaling support to sprite batch. | David Thompson | 2013-07-22 | 1 | -17/+36 |
| | |||||
* | Split sprite module into 3 modules. | David Thompson | 2013-07-22 | 1 | -251/+38 |
| | |||||
* | Add support for colors in a sprite batch. | David Thompson | 2013-07-21 | 1 | -9/+16 |
| | |||||
* | Use sprite color when rendering without a batch. | David Thompson | 2013-07-21 | 1 | -6/+10 |
| | |||||
* | Update sprite module to reflect changes in figl API. | David Thompson | 2013-07-21 | 1 | -6/+7 |
| | |||||
* | Change animation-state type to be immutable. | David Thompson | 2013-07-18 | 1 | -20/+27 |
| | |||||
* | Create animation type. | David Thompson | 2013-07-17 | 1 | -25/+122 |
| | |||||
* | Use rgba->gl-color in sprite module. | David Thompson | 2013-07-17 | 1 | -3/+5 |
| | |||||
* | Add support for sprites that use texture regions and automatic drawing to a ↵ | David Thompson | 2013-07-06 | 1 | -32/+104 |
| | | | | batch. | ||||
* | Update TODO list. | David Thompson | 2013-07-06 | 1 | -3/+0 |
| | |||||
* | Add dynamic state to track the current sprite batch. | David Thompson | 2013-07-06 | 1 | -2/+12 |
| | |||||
* | Change sprite-batch-draw parameter list to use optional keyword arguments. | David Thompson | 2013-07-06 | 1 | -3/+4 |
| | |||||
* | Deleted texture module and moved contents into sprite module. | David Thompson | 2013-07-06 | 1 | -7/+159 |
| | |||||
* | Add optional texture coordinate parameters to texture-quad and ↵ | David Thompson | 2013-07-06 | 1 | -6/+7 |
| | | | | sprite-batch-draw. | ||||
* | Fix sprite batch not rendering the correct number of vertices. | David Thompson | 2013-07-06 | 1 | -1/+1 |
| | |||||
* | Create simple sprite batch renderer. | David Thompson | 2013-06-27 | 1 | -1/+116 |
| | |||||
* | Draw sprites using vertex arrays. | David Thompson | 2013-06-26 | 1 | -19/+84 |
| | |||||
* | Add anchor property to sprite object. | David Thompson | 2013-06-23 | 1 | -10/+21 |
| | |||||
* | Use a vector for sprite scale. | David Thompson | 2013-06-23 | 1 | -19/+11 |
| | |||||
* | Use a vector for sprite position. | David Thompson | 2013-06-23 | 1 | -13/+12 |
| | |||||
* | Use keyword arguments in make-sprite and load-sprite. | David Thompson | 2013-06-23 | 1 | -5/+7 |
| | |||||
* | Add default sprite arguments to load-sprite. | David Thompson | 2013-06-23 | 1 | -7/+9 |
| | |||||
* | Fix sprite default scale values. | David Thompson | 2013-06-16 | 1 | -1/+1 |
| | |||||
* | Fix sprite comment. | David Thompson | 2013-06-16 | 1 | -2/+2 |
| | |||||
* | Add a make-sprite procedure with keyword arguments. | David Thompson | 2013-06-16 | 1 | -2/+6 |
| | |||||
* | Add color property to <sprite>. | David Thompson | 2013-06-16 | 1 | -6/+11 |
| | |||||
* | Add basic docstrings to sprite module. | David Thompson | 2013-06-12 | 1 | -0/+3 |
| | |||||
* | Add sprite module. | David Thompson | 2013-06-12 | 1 | -0/+72 |