rusty_engine 1.1.3

Learn Rust with a simple, cross-platform, 2D game engine.
Documentation
use rusty_engine::prelude::*;

fn main() {
    let mut game = Game::new();
    game.window_settings(WindowDescriptor {
        width: 800.0,
        height: 200.0,
        resize_constraints: WindowResizeConstraints {
            min_width: 700.0,
            min_height: 150.0,
            max_width: 900.0,
            max_height: 300.0,
        },
        title: "Custom Window Settings".into(),
        vsync: false,
        resizable: true,
        decorations: false,
        cursor_visible: false,
        ..Default::default()
    });
    let _ = game.add_text_actor(
        "message",
        "This is a heavily-customized window.\nYou may resize it a little bit.\nPress Esc to exit.",
    );
    game.run(|_| {});
}