Expand description
A foundational layer for gamedev designed to be a starting point for jams. Draws inspiration from ggez and Love2d, but can do 3D rendering.
Modules§
- geometry
- Structures for defining geometry primitives.
- graphics
- Graphics commands for drawing primitives.
Structs§
- Ctx
- Graphics
Ctx - Input
Ctx - KApp
Desc - M4
- Sprite
- Defines a subset of a texture that can be drawn. Can be used to define the placement of a single sprite within a spritesheet.
- Texture
- Texture
Frame Desc - V2
- V3
- V4
Enums§
- Keycode
- Pivot
- Primarily used for images, this expresses a point within the image that will be aligned to the image’s position coordinates and which will be the center of any scaling or rotation applied to the image.
Constants§
- INVERSE_
SQ_ ROOT_ 2 - NEAR_
ZERO - PI
- Archimedes’ constant (π)
- SQRT_2
- sqrt(2)
- TAU