Things to do before next release
Korge features to ask about
clipboard
borderless window
display grid
display coordinates
Korge renderer added
Builders were retrofitted
Java support dropped
All MPP targets supported
Obsolete configurations dropped
add to the docs that the GameComponent was removed and now a ComponentRenderer can be created instead
TextBox
was removed as it was made redundant by HBox
/ VBox
Code example with improved builders:
ComponentStyleSetBuilder .newBuilder()
.withDefaultStyle(
StyleSetBuilder .newBuilder()
.withForegroundColor(primaryForegroundColor)
.withBackgroundColor(TileColor .transparent())
.build()
)
.withDisabledStyle(
StyleSetBuilder .newBuilder()
.withForegroundColor(primaryForegroundColor.desaturate(.85 ).darkenByPercent(.1 ))
.withBackgroundColor(TileColor .transparent())
.build()
)
.build()
// vs
componentStyleSet {
defaultStyle = styleSet {
foregroundColor = primaryForegroundColor
backgroundColor = TileColor .transparent()
}
disabledStyle = styleSet {
foregroundColor = primaryForegroundColor.desaturate(.85 ).darkenByPercent(.1 )
backgroundColor = TileColor .transparent()
}
}