Skip to content
modkitv0.2

Sprites and Animation

← All examples21_sprite

Demonstrates: - Loading a uniform 56x56 sprite sheet - Building frame-based animations from guide-documented frame ranges - Drawing animation previews and a controllable player sprite

Sprites and Animation

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
21
Tags
2dspritesvectortextureanimation
Requires
MODKIT_ENABLE_SPRITE
Source
examples/21_sprite/main.c

Build and run

./scripts/build-linux.sh release --target=21_sprite --run