macroquad 0.3.25

Simple and easy to use graphics library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use macroquad::prelude::*;

fn window_conf() -> Conf {
    Conf {
        window_title: "Window Conf".to_owned(),
        fullscreen: true,
        ..Default::default()
    }
}

#[macroquad::main(window_conf)]
async fn main() {
    loop {
        clear_background(WHITE);
        next_frame().await
    }
}