Closed HeladoDeBrownie closed 3 years ago
the main downside of this will probably be that it leaks abstraction if a widget needs to set transforms itself. should probably do our best to only use relative transforms within widgets
this would be mutually exclusive with making it so that widgets only redraw themselves when required, instead of every frame
considering the downsides, i think it's better to drop this one
using a canvas for each widget was a somewhat more complex choice than i realized at the time. it's worth seeing if the same degree of abstraction can be provided using stencils and transform offsets. this might also cause the game to use less resources