#gamedev #wasm #game

rogalik

A simple framework for 2d pixel games

1 unstable release

0.3.0 Jul 14, 2025

#654 in #gamedev

MIT license

59KB
1.5K SLoC

A simple framework for 2d pixel games.

Very early release ;)

Supported platforms

  • Windows
  • Linux
  • Wasm
  • Android

Features

  • simple API for rapid prototyping
  • stack based scene management (main menu, game, pause etc.)
  • asset management incl. hot-reloading (dev builds) and embedding (release builds)
  • sprite rendering with batching and z-sorting
  • sprite atlases
  • custom 2d meshes
  • switchable 2d cameras
  • pixel perfect rendering pass
  • custom sprite shaders (no custom uniform buffers though)
  • postprocessing shaders (also no custom uniforms)
  • limited text rendering (currently only ASCII table style bitmap fonts)
  • basic audio

Todo

  • proper font rendering (ttf)
  • documentation ;)
  • examples
  • fixed_update method

Games created with Rogalik

Dependencies

~9–49MB
~694K SLoC