I must be overlooking something stupidly simple - I need to render a plain 2d filled rectangle to a canvas as a temporary image until I decide on a sprite.
I’ve been searching for solutions but I’m finding ten different ways to do this and many of them are way more effort than just making a solid rectangular sprite.
Part of why I want a dynamic rectangle is because it’s for a “health”-style meter, I’ll show a percentage of an inner rectangle and I’m not sure I can do that with sprites.
EDIT: Filled Images will work for the sprite part.
