Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP path stuffwip-graphics-backend | David Thompson | 2024-10-19 | 1 | -0/+2 |
| | |||||
* | WIP graphics engine rewrite. | David Thompson | 2024-07-24 | 6 | -16/+245 |
| | |||||
* | examples: model: Pause rotation with space key. | David Thompson | 2024-04-20 | 1 | -6/+10 |
| | |||||
* | Fix text positioning on text example. | David Thompson | 2024-02-22 | 1 | -4/+2 |
| | |||||
* | Fix string in text example. | David Thompson | 2023-01-13 | 1 | -38/+1 |
| | | | | | lol I was just testing performance of giant strings and didn't mean to commit it! | ||||
* | Update example images authors file. | David Thompson | 2022-12-27 | 1 | -2/+3 |
| | |||||
* | graphics: 9-patch: Fix rendering of texture regions. | David Thompson | 2022-12-27 | 2 | -3/+11 |
| | |||||
* | Rename (chickadee graphics font) to (chickadee graphics text). | David Thompson | 2022-10-17 | 11 | -15/+88 |
| | |||||
* | examples: game-controller: Update call to color constructor. | David Thompson | 2021-10-08 | 1 | -1/+1 |
| | |||||
* | examples: path: Adjust tween time due to new default timer. | David Thompson | 2021-10-06 | 1 | -2/+2 |
| | |||||
* | Add (chickadee data quadtree) module. | David Thompson | 2021-10-01 | 1 | -0/+178 |
| | |||||
* | Move data structure modules into new (chickadee data ...) namespace. | David Thompson | 2021-10-01 | 1 | -1/+1 |
| | |||||
* | graphics: model: Use keyword arguments in draw-model. | David Thompson | 2021-09-23 | 1 | -1/+4 |
| | |||||
* | examples: model: Replace OBJ Suzanne model with a glTF one. | David Thompson | 2021-09-21 | 6 | -2581/+194 |
| | |||||
* | examples: model: Fix view matrix. | David Thompson | 2021-09-21 | 1 | -3/+4 |
| | |||||
* | math: vector: Deprecate #v syntax and remove uses of it. | David Thompson | 2021-09-21 | 4 | -4/+4 |
| | |||||
* | examples: Fix model example. | David Thompson | 2021-09-21 | 1 | -1/+1 |
| | |||||
* | examples: path: Exit when Q key is pressed. | David Thompson | 2021-09-08 | 1 | -0/+5 |
| | |||||
* | Credit author of Serene Village tileset. | David Thompson | 2021-04-13 | 1 | -3/+3 |
| | |||||
* | examples: tile-map: Fix map file name. | David Thompson | 2021-04-09 | 1 | -1/+1 |
| | |||||
* | graphics: Rewrite tile map module. | David Thompson | 2021-04-09 | 5 | -105/+386 |
| | |||||
* | graphics: Rewrite 9-patch implementation and move it to its own module. | David Thompson | 2021-04-07 | 1 | -2/+2 |
| | |||||
* | graphics: Rewrite rendering engine. | David Thompson | 2021-01-26 | 4 | -6/+2 |
| | |||||
* | Switch to high resolution timer. | David Thompson | 2020-12-15 | 4 | -6/+6 |
| | |||||
* | graphics: sprite: Use dynamic geometry type. | David Thompson | 2020-12-09 | 1 | -2/+2 |
| | |||||
* | examples: grid: Update to use path module instead of deleted shapes module. | David Thompson | 2020-11-19 | 1 | -31/+63 |
| | |||||
* | examples: Delete obsolete lines example. | David Thompson | 2020-11-18 | 1 | -28/+0 |
| | |||||
* | examples: Replace calls to sdl-ticks with elapsed-time. | David Thompson | 2020-11-18 | 2 | -8/+7 |
| | |||||
* | render: Add vector path rendering module. | David Thompson | 2020-11-18 | 1 | -0/+80 |
| | |||||
* | examples: tiled: Add smooth scrolling with arrow keys. | David Thompson | 2020-11-16 | 1 | -13/+52 |
| | |||||
* | Remove scancode argument from key-press and key-release handlers. | David Thompson | 2020-11-16 | 3 | -3/+3 |
| | |||||
* | Rename 'render' subdirectory to 'graphics'. | David Thompson | 2020-10-03 | 11 | -33/+33 |
| | |||||
* | Add OTF/TTF font support via freetype. | David Thompson | 2020-10-03 | 1 | -1/+2 |
| | |||||
* | Add audio example. | David Thompson | 2020-04-07 | 6 | -0/+84 |
| | | | | | * examples/audio.scm: New file. * Makefile.am (EXTRA_DIST): Add it. | ||||
* | examples: model: Remove bad code left in accidentally. | David Thompson | 2019-10-24 | 1 | -3/+0 |
| | |||||
* | render: Restructure 3D modules and add basic support for OBJ models. | David Thompson | 2019-10-24 | 2 | -0/+2653 |
| | |||||
* | examples: Update particle example. | David Thompson | 2019-07-24 | 1 | -11/+42 |
| | |||||
* | render: tiled: Add point->tile. | David Thompson | 2019-06-04 | 1 | -3/+14 |
| | | | | | | * chickadee/render/tiled.scm (point->tile): New procedure. * doc/api.texi (Tiled): Document it. * examples/tiled.scm: Render tile coordinates in bottom-left corner. | ||||
* | Update a couple of examples to use new sprite batch API. | Alex McGrath | 2019-05-28 | 3 | -24/+31 |
| | | | | | * examples/game-controller.scm: Use new sprite batch API. * examples/grid.scm: Ditto. | ||||
* | render: sprite: Rewrite sprite batching API. | David Thompson | 2019-05-12 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This new version performs better and has a better API. It closely resembles Love2D's sprite batch API. * chickadee/render/sprite.scm (with-batched-sprites, sprite-batch-reset!, sprite-batch-begin!, draw-sprite-batched, *batch?*, %batch): Delete. (draw-sprite-unbatched): Rename to 'draw-sprite*'. (<sprite-batch>)[index-buffer, position-buffer, texture-buffer]: Delete fields. [vertex-buffer]: New field. (init-sprite-batch, double-sprite-batch-size!, sprite-batch-add!, sprite-batch-flush!): Rewrite. (make-sprite-batch): Add 'capacity' and 'blend-mode' arguments. (draw-sprite-batch): New procedure. (draw-nine-patch*): Stop using sprite batches for now. * chickadee/render/font.scm: (<font>)[sprite-batches]: New field. (load-tile-font, load-font): Create a sprite batch for each texture loaded. (draw-text*): Use sprite batches. * chickadee/render/tiled.scm: (<tile>)[batch]: New field. (<tileset>)[batch]: New field. (load-tile-map): Create a sprite batch for each tileset. (draw-tile-layer): Use new sprite batch API. (draw-tile-map*): Remove reference to deleted macro. | ||||
* | examples: Add sprite batch example. | David Thompson | 2019-01-08 | 2 | -0/+66 |
| | | | | | | * examples/sprite-batch.scm: New file. * examples/images/shot.png: New file. * Makefile.am (EXTRA_DIST): Add them. | ||||
* | examples: game-controller: Add left/right trigger rendering. | David Thompson | 2019-01-06 | 1 | -30/+38 |
| | |||||
* | examples: Add game controller test. | David Thompson | 2019-01-06 | 2 | -0/+77 |
| | | | | | | * examples/game-controller.scm: New file. * examples/images/controller-buttons.png: New file. * Makefile.am (EXTRA_DIST): Add them. | ||||
* | Credit J-Robot for the pixel explosion image. | David Thompson | 2018-12-14 | 1 | -0/+3 |
| | |||||
* | Add particles example. | David Thompson | 2018-12-14 | 2 | -0/+51 |
| | | | | | | * examples/images/explosion.png: New file. * examples/particles.scm: New file. * Makefile.am (EXTRA_DIST): Add them. | ||||
* | Re-add key-pressed? and key-released? procedures. | David Thompson | 2018-12-13 | 1 | -2/+1 |
| | | | | | * chickadee.scm (key-pressed?, key-released?): New procedures. * examples/grid.scm: Remove (sdl2 input keyboard) import. | ||||
* | Re-hide SDL2 details. | David Thompson | 2018-12-13 | 6 | -22/+17 |
| | | | | | | | | | | | | | | | | | | | | | I know I'm backpedaling here, but I think it was a mistake to expose SDL2 as much as I have here. I think it's better for people just getting started to not have to wonder what SDL means. Making things as usable as possible for beginners is an important goal, and abstracting SDL2 + OpenGL things from the core game loop implementation shouldn't require sacrificing that goal. * chickadee.scm: Switch code with... * chickadee/game-loop.scm: ...this! Which is copied straight from... * chickadee/sdl.scm: ...this! Which is now deleted. * Makefile.am (SOURCES): Add game-loop.scm, remove sdl.scm. * examples/grid.scm: Update due to API breakage. * examples/lines.scm: Ditto. * examples/nine-patch.scm: Ditto. * examples/sprite.scm: Ditto. * examples/text.scm: Ditto. * examples/tiled.scm: Ditto. * doc/api.texi (Kernel): Update. | ||||
* | examples: Simplify text example. | David Thompson | 2018-12-13 | 1 | -8/+2 |
| | |||||
* | render: font: Include a default font for convenience. | David Thompson | 2018-12-13 | 6 | -269/+7 |
| | | | | | | | | | | | | | | | | | | | * data/fonts/good-neighbors.fnt: New file. * data/fonts/good-neighbors.png: New file. * data/CREDITS: New file. * examples/fonts/AUTHORS: Delete. * examples/fonts/good_neighbors_starling.png: Delete. * examples/fonts/good_neighbors_starling.xml: Delete. * Makefile.am (dist_pkgdata_DATA, fontsdir, dist_fonts_DATA): New variables. (EXTRA_DIST): Remove examples/fonts files. * chickadee/render/font.scm (draw-text): Make font an optional keyword argument. * doc/api.texi (Fonts): Document it. * examples/grid.scm: Update to use new draw-text API. * examples/nine-patch.scm: Ditto. * examples/text.scm: Ditto. squash! render: font: Include a default font for convenience. | ||||
* | math: Add grid module. | David Thompson | 2018-09-02 | 1 | -0/+87 |
| | | | | | | | * chickadee/math/grid.scm: New file. * examples/grid.scm: New file. * Makefile.am (SOURCES): Add grid module. (EXTRA_DIST): Add grid example. |