Macroquad Canvas 2D
Macroquad Canvas 2D is a simple resolution-handling library that allows you to focus on making your game with a fixed resolution.
It is heavily inspired by Push
How to use it
Import the library.
use *;
Create a new Canvas2D.
let canvas = new;
Draw!
loop
For more information check out the examples!
TODO
- ✅ Function to transform canvas coordinates to screen coordinates.
- ✅ Mouse position, and transform.
- ✅ Camera movement and rotation.
- ◻ Add camera constaint.
- ◻ Add camera effects like shake.
- ◻ Simple post processing effects.