When creating patterns for the asteroids to come in, I wanted to make them predictable but also challenging. To make the patterns predictable, I created a system that makes asteroids fly in at specific intervals. I used the below visualisation, which I created in Figma, to help me to generate patterns quickly; making them easy to view and understand.
.png)
Basic blocks are the building blocks used to create larger patterns.
.png)

.png)
Designed to be easily strung together, these are small patterns that provide a challenge over a short duration. The game will regular choose from these when deciding on a pattern to throw at the player. When choosing one of these to attack the player with, there is a small chance that a single empty bar, or one with a fuel pickup, will be generated to come in between these patterns; this will give the player a very short moment to recuperate themselves.
.png)




.png)

