Crate rogalik

Source
Expand description

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

Re-exports§

pub use log;
pub use rogalik_audio as audio;
pub use rogalik_math as math;
pub use rogalik_persist as persist;
pub use rogalik_wgpu as wgpu;

Modules§

input
prelude

Structs§

Instant

Enums§

SceneChange

Traits§

Game
Scene