https://kotlinlang.org logo
#korge
Title
# korge
d

Deactivated User

03/05/2021, 10:16 AM
🎊 KorGE 2.0.8.1 released! ## Breaking changes * Sound.play now requires a
coroutineContext
, or being called from a suspend function. You can use the old version with
playOld
but you might have issues with sounds being stopped in some cases. Details here: https://github.com/korlibs/korge-next/pull/181 ## Fixes * Fixed BitSet memory usage. https://github.com/korlibs/korge-next/pull/179 Thanks @andrei-cosmin ! * Added missing
Pinned<FloatArray>.startAddressOf
and
Pinned<DoubleArray>.startAddressOf
* Fixes AudioData.toStream hang * Prevents audio from stop working when spamming on JVM/JNA/OpenAL * Fixes audio not playing when loaded from one coroutineContext Job that was already completed * Fixes audio startup on JS. Now it tries to unlock audio when KorGE starts, so any initial user input event will unlock audio. ## New features * Support trimmed atlases on BaseImage, Sprite, etc. https://github.com/korlibs/korge-next/pull/172 Thanks @jobe-m ! * Added FlagFilter. https://github.com/korlibs/korge-next/pull/182 Thanks @MikeSmithEU ! * Added
arrayinterleave
to kmem * Added
FastByteTransfer
,
FastShortTransfer
,
FastIntTransfer
,
FastFloatTransfer
to be able to unsafely read/write from/to arrays faster on K/N while working on all the targets * Added
waitSubscriber
and
waitSubscriberCloseable
## Performance improvements * Substantial performance improvement on audio on Android and Win32 * Cache refresh rate from displays (fixes low framerate regression on some linux setups) * arraycopy in MemBuffer is now faster on Kotlin/Native * arrayfill now uses the embedded array filling from the stdlib * WeakMap.getOrPut is now inline * Improve performance of some Audio operations on all the targets ## Deprecations * Deprecate
redirect(KProperty)
and
KProperty.redirected
since
by ::field
already does that on latest versions of Kotlin
❤️ 6
🕺 2
metal 3
💃 2
K 10
👾 2
This version fixes lots of sound issues on most of the targets. In fact it closes all the audio tickets that were open! But feel free to open new ones if you think they are not fixed or you find new issues.
Now, unless you find some critical problems with this version, I'm going to focus on bringing all the artifacts to MavenCentral
1
🤹 1
3 Views