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.5ms
to0.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
Modifier
s: - Great thanks to /u/coldwarrl who contributed the
LogArea
component: screenshot here it supports all elements which is supported byTextBox
(Header
,Paragraph
,ListItem
) - /u/coldwarrl also contributed the
Delay
modifier which delays displaying aTile
. This can be used to great effect for a typewriter effect - The
TextBox
was retrofitted to support this typing effect and also to support inlineComponent
s like in this example - Also here is a scrolling
LogArea
example. - The
Modifier
interface was separated to two parts:TextureTransformer
modifiers (which is the old way of modifying things) andTileTransformer
modifiers which can tamper withTile
s before rendering textures (this is whatDelay
uses for example) - The
getTile
/setTile
(and their relative counterpats) methods were also “sanetized” so it is now pretty straightforward to use them. TileGraphics
now provides a properSnapshot
object 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.