#game-engine #game #engine #audio #graphics #collision-detection

yanked veebee

A Simple Rust Game Engine For 2D

1.1.1 Nov 14, 2021
1.0.0 Nov 2, 2021

#47 in #collision-detection

MIT/Apache

6.5MB
1.5K SLoC

VeeBee

VeeBee Is A Nice And Simple Game Engine For 2D.

Features

  • Sprites & Images!
    • Btw There Is A Built In 2D Pack (But The Textures Are REALY BAD, Sorry...)
  • Music & SFX!
    • Btw There Is A Built In Musics & SFX (Created By Kenney)!
  • Collision detection
  • Text
    • Btw There Is A Built In 2 Fonts!
  • Input (Mouse & Keyboard)
  • Timers

Getting Started

Add 'veebee' As A Crate Dependency In 'Cargo.toml'

Like This:

# Put It On [dependencies] In Cargo.toml
veebee = "1.0.0"

First, Let's Code A Window:

use veebee::prelude::*;

fn main() {
    let mut game = Game::new();
    game.window_settings(WindowDescriptor {
        width: 700.0,
        height: 150.0,
        resize_constraints: WindowResizeConstraints {
            min_width: 700.0,
            min_height: 150.0,
            max_width: 900.0,
            max_height: 300.0,
        },
        title: "Veebee Window".into(),
        vsync: false,
        resizable: true,
        decorations: false,
        cursor_visible: false,
        ..Default::default()
    });
    let _ = game.add_text_actor(
        "message",
        "This Is A Simple VeeBee Window\nPress Esc To Exit.",
    );
    game.run(|_| {});
}

You Can Git Clone My Github Repository For More Information And Tutorials.

New In 1.1.1:

  • Bug Fixes
    • ActorPreset BugsFix

Dependencies

~32–80MB
~1M SLoC