<div align="center">
<h1>Macroquad console</h1>
<br />
A simple and ergonomic way to store and edit configuration in your game at runtime
</div>
<br />
[](https://crates.io/crates/cvars-console-macroquad)
[](https://github.com/martin-t/cvars/blob/master/LICENSE)
[](https://github.com/martin-t/cvars/actions)
[](https://rustsec.org/)
[](https://deps.rs/repo/github/martin-t/cvars?path=cvars-console-macroquad)
[](https://discord.gg/aA7hCFvYh9)
In-game console for the [macroquad](https://github.com/not-fl3/macroquad) game engine for changing [cvars](https://github.com/martin-t/cvars) at runtime.

## Usage
- Add `cvars-console-macroquad` to your `Cargo.toml`:
```shell
cargo add cvars-console-macroquad
```
- Create a `MacroquadConsole` when initializing your game.
- Call its `update` method in your main loop.
## Real-world example
See how [RecWars](https://github.com/martin-t/rec-wars) uses [cvars](https://github.com/martin-t/rec-wars/blob/master/src/cvars.rs) and the console.
## License
AGPL-v3 or newer