Stamina Circle GML Script

This block of code will programmatically draw a circle, and given current and max values for the meter, will animate based on that value. I based this off of the Breath of the Wild style stamina meter. Pretty straightforward and can look great with some simple styling.

Nineslice GML Script

Here’s a handy script I use all the time. It’s a draw function that uses a sprite with 9 frames, each one representing a different area of a background, button, or object, and scales it to fit the size of the area you want. The sprite it’s expecting looks like this: Download Example Sprite The...