baba

Crates.iobaba
lib.rsbaba
version0.2.1
sourcesrc
created_at2024-07-20 18:33:19.654682
updated_at2024-07-26 03:13:38.883629
descriptionExtremely simple library for games, inspired by love2d and raylib
homepage
repositoryhttps://github.com/rniii/baba
max_upload_size
id1309676
size79,193
rini ☔ (rniii)

documentation

README

baba

Extremely simple library for game development, inspired by love2d and raylib.

Its main goal is to provide a robust base for games of any complexity. It is currently built on top of SDL2, which already has widespread usage and supports a huge variety of systems.

fn main() -> baba::Result {
    baba::run("My game", MyGame::update)
}

impl MyGame {
    fn update(&mut self) {
        // Update your game logic and draw onto the screen!
        gfx::clear(Color::WHITE);
    }
}

Roadmap?

  • Primitives rendering
    • Public Drawable api
    • Public Canvas api
  • Shape rendering
    • SDL apis? maybe use epaint? both?
  • Text rendering (SDL_ttf)
  • Event alternative to input::is_key_down etc
  • Audio playback (SDL_audio)
  • Config loading, also more engine settings
  • Document all APIs
  • Write the Baba Engine Book
Commit count: 0

cargo fmt