summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: Fix reference to run-game*.David Thompson2021-03-051-1/+1
|
* doc: Add a bit of explanation for #:window-resizable? arg in run-game.David Thompson2021-03-051-1/+2
|
* Add support for window resizing.David Thompson2021-03-051-1/+3
|
* graphics: Rewrite rendering engine.David Thompson2021-01-261-15/+15
|
* math: matrix: Rename transform! to matrix4-transform!David Thompson2020-12-161-1/+1
|
* doc: Fix explanation of time argument in run-game*.David Thompson2020-12-161-2/+2
|
* Switch to high resolution timer.David Thompson2020-12-151-2/+1
|
* doc: Reorganize graphics section.David Thompson2020-12-051-250/+250
|
* doc: Fix typo in procedure name.David Thompson2020-12-051-1/+1
|
* doc: Document 3x3 matrices.David Thompson2020-12-051-1/+83
|
* doc: Move grid subsection to end of math section.David Thompson2020-12-051-107/+112
|
* doc: Remove subsections for performance notes.David Thompson2020-12-051-2/+2
|
* graphics: tiled: Remove region argument from draw-tile-map.David Thompson2020-11-181-19/+5
|
* render: Add vector path rendering module.David Thompson2020-11-181-60/+213
|
* Add elapsed-time procedure.David Thompson2020-11-161-0/+5
|
* Remove scancode argument from key-press and key-release handlers.David Thompson2020-11-161-14/+3
|
* graphics: font: Add color argument to draw-text.David Thompson2020-11-161-1/+1
|
* graphics: texture: Add load-tileset procedure.David Thompson2020-10-111-0/+12
|
* Rename 'render' subdirectory to 'graphics'.David Thompson2020-10-031-14/+14
|
* Add OTF/TTF font support via freetype.David Thompson2020-10-031-6/+15
|
* scripting: Add custom polling support.David Thompson2020-08-251-0/+20
|
* doc: Add "User-Defined Shader Types" section.David Thompson2020-04-081-13/+140
|
* doc: Add "3D Models" section.David Thompson2020-04-081-0/+63
|
* doc: Fix typo.David Thompson2020-04-081-1/+1
|
* doc: Add docs for various undocumented procedures.David Thompson2020-04-081-1/+34
|
* doc: Add "Colors" section.David Thompson2020-04-081-0/+233
|
* doc: Update dependency list.David Thompson2020-04-081-1/+4
|
* math: Add 2pi variable.David Thompson2020-04-081-0/+4
| | | | * chickadee/math.scm (2pi): New variable.
* doc: Expand and improve Kernel manual section.David Thompson2020-04-081-78/+231
|
* audio: Add public audio API.David Thompson2020-04-071-2/+456
| | | | | | * chickadee/audio.scm: New file. * Makefile.am (SOURCES): Add it. * api.texi (Audio): Add docs.
* doc: api: Mention the module name for texture and sprite APIs.David Thompson2020-04-021-3/+17
|
* Fix a few errors in the manual.David Thompson2019-06-051-3/+3
|
* render: tiled: Add point->tile.David Thompson2019-06-041-0/+5
| | | | | | * chickadee/render/tiled.scm (point->tile): New procedure. * doc/api.texi (Tiled): Document it. * examples/tiled.scm: Render tile coordinates in bottom-left corner.
* doc: Add direntry information.David Thompson2019-06-041-0/+5
|
* doc: Update copyright years.David Thompson2019-06-021-1/+1
|
* doc: Add tutorial for REPL setup.David Thompson2019-06-021-0/+33
| | | | * doc/api.texi (Live Coding): New subsection.
* doc: Expand API reference for Tiled maps.David Thompson2019-06-021-0/+184
| | | | * doc/api.texi (Tile Maps): Add more procedure documentation.
* doc: Remove unnecessary @var markup in argument lists.David Thompson2019-05-281-303/+300
|
* doc: Remove unicode character for pi because it breaks 'make dvi'.David Thompson2019-05-131-3/+3
|
* doc: Remove reference to old hook system.David Thompson2019-05-131-2/+3
| | | | | * doc/api.texi (Agendas): Rewrite example code that used obsolete hook API.
* render: Rename "typed buffer" to "buffer view".David Thompson2019-05-131-38/+38
| | | | | | | * chickadee/render/buffer.scm: s/typed-buffer/buffer-view/ * chickadee/render/shapes.scm: Same. * chickadee/render/sprite.scm: Same. * doc/api.texi: Same.
* doc: Improve texture documentation.David Thompson2019-05-131-2/+83
| | | | | * chickadee/render/texture.scm (list->texture-atlas): Tweak docstring. * doc/api.texi (Textures): Document more procedures.
* render: sprite: Rewrite sprite batching API.David Thompson2019-05-121-20/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* render: sprite: Allow nine patches to be tinted.David Thompson2019-01-081-1/+2
| | | | | | * chickadee/render/sprite.scm (draw-nine-patch*, draw-nine-patch): Add tint keyword argument. * doc/api.texi (Sprites): Document new argument.
* render: sprite: Revamp rendering process.David Thompson2019-01-061-7/+6
| | | | Add support for tinting and simplify batch rendering.
* doc: Improve Fonts section.David Thompson2018-12-141-36/+13
|
* Re-hide SDL2 details.David Thompson2018-12-131-14/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* render: font: Include a default font for convenience.David Thompson2018-12-131-3/+4
| | | | | | | | | | | | | | | | | | | * 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.
* doc: Mention 'rect' in manual.David Thompson2018-12-131-1/+2
| | | | * doc/api.texi (Rectangles): Document 'rect' procedure.
* math: vector: Add set-vec2! and set-vec3! procedures.David Thompson2018-12-131-0/+10
| | | | | * chickadee/math/vector.scm (set-vec2!, set-vec3!): New procedures. * doc/api.texi (Vectors): Document them.