This week was mainly spent with preparing for the next major release and upgrading stuff:
- The code underwent some optimization so framework overhead dropped from
0.5msto0.3ms - The API was “sanetized” which means that it is not a bit easier and more straightforward to use
- We had some extra time to create some new fancy
Modifiers: - Great thanks to /u/coldwarrl who contributed the
LogAreacomponent: screenshot here it supports all elements which is supported byTextBox(Header,Paragraph,ListItem) - /u/coldwarrl also contributed the
Delaymodifier which delays displaying aTile. This can be used to great effect for a typewriter effect - The
TextBoxwas retrofitted to support this typing effect and also to support inlineComponents like in this example - Also here is a scrolling
LogAreaexample. - The
Modifierinterface was separated to two parts:TextureTransformermodifiers (which is the old way of modifying things) andTileTransformermodifiers which can tamper withTiles before rendering textures (this is whatDelayuses for example) - The
getTile/setTile(and their relative counterpats) methods were also “sanetized” so it is now pretty straightforward to use them. TileGraphicsnow provides a properSnapshotobject whensnapshot()is called instead of just returning aMap<Position, Size>. This makes it more flexible and useful later when we properly implement multi-sized tiles.- We made great progress this week and now only 2 tasks remain for the release (excluding testing / documenting)!
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.