This week:
- We figured out a way to properly do wrapping / decorating of components. /u/zidsal and /u/coldwarrl already gave some feedback on the concept
but we’d also like to show it to you: here.
The whole thing is intended to be easy to understand so if it is not clear feel free to point out the problems.
In a nutshell we’ll have
ComponentRenderer
s. EachComponent
will have its own and the decorators will also have one. Rendering will be done from the outside to the inside and eachRenderer
will only have access to the area which it is supposed to touch. - We’ve also implemented
SubTileGraphics
which is just like aTileGraphics
but it maintains a “window” around an actualTileGraphics
. With this construct we can restrict which parts of aTileGraphics
can be edited. You can also createSubTileGraphics
’ out of aSubTileGraphics
leading to SubTileCeption. - There were a lot of recent POCs and new additions with only exploratory tests written for them so far. This week we have paid down a lot of this technical debt so there were a lot of new unit tests added.
- Here is an example of the implemented component rendering (buttons) concept.
A next major release is coming up for this Autumn, so stay tuned.
Do you have questions? Ask us on our Discord Server.
If you like what we do and want to support us consider becoming a Patron.