repository
0.0.0-20240927104230-651fbc85b974
Repository: https://github.com/csmith/gamelib.git
Documentation: pkg.go.dev
# README
Golang Gamelib
Provides functions that may or may not be useful when making games in Golang, in particular ones using the Ebiten library.
Overview
github.com/csmith/gamelib/math
(general purpose)
- Linear interpolation functions (lerp)
- Easing functions
github.com/csmith/gamelib/sprite
(Ebiten specific)
- Sprite sheets
- Text rendering for sprite-based fonts
github.com/csmith/gamelib/structure
(Ebiten specific)
- Scene-based Game implementation
- Layer rendering
github.com/csmith/gamelib/text
(Ebiten specific)
- Text drawing with shadows
Potential future additions
- RNG with bad luck prevention
- Animation helper
- Input utilities (click hotspots, key binds)
- Sound playback (global volume control, looping, etc)
- Template for WASM games
- Cross-compilation helper + glibc shim
- Tiled importer
- Sprite sheets with non-standard sizes (Aseprite importer?)