Macroquad Exercises
- GLSL Post-processing
- Use
is_key_down
to react to user input, and change the strength of the post-processing effects.
- Use
- First person camera
- Game of life
- Load a “scene” from a file.
This can either be a simple text file, or use a JSON file. This is a nice opportunity to practice reading files and parsing them. For the JSON file, we recommend using
serde
andserde_json
.
- Load a “scene” from a file.
This can either be a simple text file, or use a JSON file. This is a nice opportunity to practice reading files and parsing them. For the JSON file, we recommend using
- Snake!
- Extend the game to have a second snake. There are multiple variations, it is up to you to choose the most fun one. This is a good opportunity to practice more with building abstractions (like extending the
Snake
struct).
- Extend the game to have a second snake. There are multiple variations, it is up to you to choose the most fun one. This is a good opportunity to practice more with building abstractions (like extending the
This slide should take about 100 minutes.
We will go through 2 more chapters, and then we’ll use what we’ve learned to create simple games!
The missing chapters can be covered on demand, or by the students themselves.