This is a fork of Macroquad Canvas
A library that allows for maintaining a certain aspect ratio within your Macroquad games while keeping crisp pixel perfect detail.
To use this library, import Canvas2D
use macroquad_canvas::Canvas2D;Then simply create the canvas
let canvas = Canvas2D::new(800_f32, 600_f32);And here's how to draw the canvas
loop {
set_camera(&canvas.camera);
// Draw inside canvas...
set_default_camera();
canvas.draw();
next_frame().await
}