jucraft/src/main.rs

27 lines
495 B
Rust
Raw Normal View History

2023-04-18 14:17:53 +02:00
use miniquad::*;
use stage::Stage;
mod game;
mod shader;
mod stage;
mod graphics;
mod tools;
mod jucraft;
mod player;
2023-04-19 09:05:48 +02:00
mod systems;
2023-04-18 14:17:53 +02:00
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