KorGE Changelog
This page is outdated
Table of contents:
- 1.13.1.0 (2020-06-11)
- 1.13.0.1 (2020-06-09)
- 1.13.0.0 (2020-06-08)
- 1.12.14.0 (2020-06-04)
- 1.5.6.2 (2020-02-09)
- 1.5.4.0 (2020-01-12)
- 1.2.0 (2019-03-17)
- 1.1.3 (2019-03-03)
- 1.1.1 (2019-02-19)
- 1.1.0 (2019-02-11)
- 1.0.3 (2019-02-03)
- 1.0.0 (2019-02-01)
1.13.1.0 (2020-06-11)
KorIM:
- Optimized ColorTransform to prevent recomputing when values not changed
- Implemented remaining SVG path commands:
T
andA
(arcs) - Some SVG path fixes
KorGE:
- Support an additional XML-based atlas format
- Adds
Ellipse
View (similar toCircle
) - Fixes
View.onCollisionShape
- Unifies hitTest and supports hitShape on all the cases
- Added
View.hitShape { }
extension extension using the buildPath builder - TiledMap supports image and object layers visualization
- TiledMap supports point objects
- TiledMap fixes object layer position with decimals
- TiledMap sets properties: name, position, alpha, visibility, type, custom props and rotation
1.13.0.1 (2020-06-09)
- Fixes issue with
lineWidth
+ scale context whenstroke
on all the targets except JVM (that have fixed). Now it should be consisent with JSâs context2d - Fiixed an issue with Macos that caused inconsistent and super fast framerate
1.13.0.0 (2020-06-08)
- Reduced micro stuttering
- Support
addHrUpdater
with microsecond precission - Improved
readAtlas
- Allow to construct a
SpriteAnimation
from anAtlas
withAtlas.getSpriteAnimation
- Allow to get mouse button on
onClick
and other mouse events - Fixed
Circle
andGraphics
anchor that was ignored - Added
View.hitShape: VectorPath?
Graphics.hitTest
now uses the defined shapes instead of bounding box by default- Added
collidesWithShape
that uses shape information to check if two or more views are colliding - Fixes a few issues with Tillesets
- Now tilesets margin and spacing is taking into account
- Fixes a render bug with tic-tac-toe-swf sample.
strokeWidth
was not being scaled with the current transform
1.12.14.0 (2020-06-04)
Text
hitTest implementation to be able to add mouse events to Text viewsText
.textSize, .font and .color extensions simplifying its format usage
1.5.6.2 (2020-02-09)
- Some work on https://github.com/korlibs/korge.soywiz.com/issues/1
1.5.4.0 (2020-01-12)
- This version fixes a few issues (
ColorMatrixFilter
, issues with PNGs with bpp < 8) - Support icons in most targets
- Do not require a
launchImmediately
in the main - Includes a
androidPermission
andsupportVibration
to the gradle plugin - Includes lots of new api documentation
- Includes box2d
convertPixelToWorld
andconvertWorldToPixel
- Include
Filter
api adjustments (mostly to simplify implementors) and deprecates the oldEffectView
s (now onlyFilter
s should be used) - Supports tweening / interpolating
TimeSpan
- Includes new code from korim including the new
buildShape
API
1.2.0 (2019-03-17)
This version includes a preview of KorGE-3D ð.
KorGE 3D is a new extension of KorGE allowing to mix 3D and 2D content, define 3D scenes with a DSL and load Collada scenes and models.
The code is hold in the korge main repository as a library, but their classes are marked as experimental until stabilized: https://github.com/korlibs/korge/tree/master/korge-3d
Please, try it out, and give feedback! :) PRs are also welcome.
Check the sample here: https://github.com/korlibs/korge-samples/tree/master/sample-3d
Highlights
- New plugin system: Now it is possible to create custom resource processors in your libraries and define android
- New experimental KorGE-3D. You can include it with
korge { supportExperimental3d() }
in yourbuild.gradle
New Features
- Klock 1.3.1: Now supports generating local dates for several languages [2]
- Kds: FastIdentityMap and IndexedTable classes
- Korma: Added Quaternion and EulerRotation [2]
- Korma: Added (next/prev/is)MultipleOf tools
Fixes
- Klock: Fixes formatting with negative offsets
- Some viewport with retina display, and fixes for preventing scroll and pinching issues on iOS
Performance improvements
Improvements
- Korio: New methods for Xml reading and StrReader
- Korma: Added Matrix3D setColumns, setRows variants using FloatArray
- Korgw: Support multisampling in the JVM and Native MacOS
- Korag: Support uniform matrix arrays
- Korim: Tools for converting RGBA to Vector3D
1.1.3 (2019-03-03)
This version is focused on performance and also fixes a few bugs.
Fixes
- KorIM: Fixes bounds computing when using thickness in vector graphics [Fix]
- KorAU: Now supports volume and panning properties on JS
- KorAU: Fixes audio leak on windows that produced crashes after a few audio playings
- KorGE: Fixes Android and iOS when using preprocessed resources, and android proper escaping when generating local.properties with the sdk path
Optimizations
- KMEM: Reduces allocation on JVM when copying arrays
- Korio: Greatly reduces allocation pressure on all targets when using Signal and AsyncSignal [1] [2] [3]
- Korio: General optimizations reducing allocations
- KorGW and KorEV: Allocation optimizations [1] [2]
- KorGE and KorGE Dragonbones optimizations reducing allocations when iterating
- KorGE Plugin patches kotlin.js to improve isInheritanceFromInterface performance
Changes
New Features
- KorIM: Support encoding windows ICO and BMP files
- KDS: Added
getCyclic
variants for Two Dimensional structures - KDS: Added allocation-free
fastForEach
,fastForEachReverse
,fastIterateRemove
,fastForEachWithIndex
[1] [2] - KDS: Added allocation-free
fastKeyForEach
,fastValueForEach
,fastForEach
forFast*Map<T>
andIntMap
variants [1] [2] - Korio: Added String.eachBuilder
- KorAU: Support panning property in AudioChannel with values between -1 and +1
- KorGE: Tilemaps now support repeating modes (NONE, REPEATING and MIRROR) per axis
- KorGE: Tilemaps now support using IntArray2 from Kds
- KorGE: Added color parameter when building text views
Extra
- Kotlin 1.3.30-eap-1 was released including async stacktraces. You can use the 1.3.30-eap-1 IDE version along any version of KorGE to debug with asynchronous stacktraces as long as you use the gradle plugin.
1.1.1 (2019-02-19)
Improvements
- KorIM: Native antialiased vector rendering on iOS and macOS
- KorAU: Support 8-bits per sample WAV files
- KorGE: Improved Graphics view supporting strokes and optimizing rendering
- KorGE: Make ViewsForTesting as fast as possible when testing tweens or time-related tasks
- KorGE plugin: support mp3 and ogg on lipsync
Optimizations
- KorGE: Fixed scene not being able to launch new coroutine jobs except when using the dispatcher of GameWindow
- KorIO: Improves performance of Json decoding on JS
- KorIO: Reduces allocations when decoding JSON
- KorIM: Optimizes readBitmap
- KorIM buffer vector rendering
- KorGE dragonbones: Small optimizations
- KorGE: ViewsForTesting fixes
Fixes
- KorGE: Fixes
runJs
on windows and linux - KorMA: Fixed BoundsBuilder with negative numbers
- KorIO: Fixes Regression that prevented JS to read images and other resources directly from URLs 1 2
- KorGW: JVM: Fixes window dimensions and mouse coordinates
- KorGE: Misc ResourceProcessor fixes
- KorGE plugin: Fix atlas packing
1.1.0 (2019-02-11)
New features
- Supported resources processing at build time. Initially: Atlas, SWF and Lipsync
- Added
runJs
gradle task that starts a web server and opens a browser - Gradle metadata is not required anymore
- Redistributed gradle tasks in korge-* categories
Improvements
- KorMA: Makes Angle comparable and adds additional methods
- KorIO: tries to figure out resources folders in submodules in intellIJ
- KorIM: supports suggesting premultiplied when loading native images
- KorGE: improved lipsync API 2
- KorGE: prevent errors from crashing the application
Fixes
- KorIO: Fixed handing when listing local files on the JVM
- KorIO: Fixed ObjectMapper with jvmFallback
- KorEV/KorGW: Support drag events on JavaScript
- KorEV/KorGW: Support drag events on Windows Native
- KorGW: Several fixes on GameWindow including iOS (that stopped working) and other native targets
- KorGE plugin: Fixed generated Android build.gradle that was not properly escaping in windows
Other
- KorGE: Added View.tweenAsync
- Added several more KorGE samples
1.0.3 (2019-02-03)
Fixes
- Fixed Bitmap32.hashCode that was causing everything to be super slow
- Fixed red-blue swapping on KorIM windows native decoder
- Fixed KorGE gradle plugin extension icon property being immutable
1.0.0 (2019-02-01)
First public version