![]() |
CHGame 0.3.0
Libraries for the CHGame handheld
|
Files | |
| Audio.h | |
| Sound and the status LED: a small sequencer for the piezo. | |
| Config.h | |
| The CHGame library's build switches. | |
| Debug.h | |
| The serial debug protocol (CHGAME_DEBUG builds only; see chgame/Config.h). | |
| Draw.h | |
| The house drawing: rounded rects and panels, span sprites (plain, scaled, flipped, rotated), dithering, an in-place colour remap, convex polygons, column glyphs and PPOT's 3x5 font. | |
| Fmt.h | |
| Number formatting without printf. | |
| Fx.h | |
| Motion maths and the screen shake: easing, integer sine, randomness. | |
| Input.h | |
| Buttons and frame pacing: the Arduboy-flavoured front of the CHGame board. | |
| Mask.h | |
| 1 bpp scratch masks for outlined, shadowed and gradient lettering and logos. | |
| Palette.h | |
| The house palette: sixteen named colours, and the tricks a palette allows. | |
| RamFunc.h | |
| RAMFUNC(name): run a function from SRAM. | |
| Save.h | |
| Saving: a record in flash that survives power cycles and re-uploads. | |
| Sizzle.h | |
| Sizzle: the particle pool, the pop-up banner and the floating "+$15" texts the games share, on top of fx:: (chgame/Fx.h). | |