jucraft/src/main.rs
2023-04-19 09:05:48 +02:00

27 lines
No EOL
495 B
Rust

use miniquad::*;
use stage::Stage;
mod game;
mod shader;
mod stage;
mod graphics;
mod tools;
mod jucraft;
mod player;
mod systems;
fn main() {
start(conf::Conf{
window_title: "Jucraft".to_string(),
window_height: 900,
window_width: 900* 16 / 9,
..Default::default()
}, |mut ctx| {
Box::new(Stage::new(&mut ctx))
});
}
// to read: for Map generation: https://www.redblobgames.com/maps/terrain-from-noise/
// with opensimplex_noise_rs crate