codecraft 0.1.1

A minimalist 3D game engine built on parts of Bevy (ECS, color) with wgpu and winit: OpenPBR materials, clustered lighting, an immediate-mode UI, audio and gamepad haptics
Documentation
//! A blank app: a grid on the ground, a camera to fly around it, and dev mode
//! on from the start -- somewhere to stand while there is nothing to show yet.
use codecraft::glam::Vec3;
use codecraft::prelude::*;
use codecraft::{OrbitCamera, gizmos};

/// Nothing but the working: the grid, the rig, and the `DEV` badge.
struct Blank;

impl Scene for Blank {
    fn setup(&mut self, app: &mut AppState) {
        app.spawn(gizmos::grid());
        // The rig flies the frame: right-drag orbits, WASD walks, the wheel
        // dollies, and a pad's touchpad does the first and last of those.
        app.spawn_entity(OrbitCamera::new(Vec3::ZERO, 10.0).touchpad());
        app.set_dev_mode(true);
    }
}

fn main() {
    // `App::new` starts the logging, into a file as well as the terminal.
    App::new("codecraft").scene(Blank).run();
}