soywiz
soywiz
Related discussion: https://github.com/korlibs/korge/discussions/2043 ```kotlin class MyScene : Scene() { private var clickSound : Sound? = null override suspend fun SContainer.sceneInit() { clickSound = resourcesVfs["click.mp3"].readSound() } override suspend fun SContainer.sceneMain() {...
Deno provided a simple core functionality based on web standards + some basic features: https://deno.land/[email protected] We could do the same. For example, we could expose `Bitmap32` and functions for reading...
https://youtrack.jetbrains.com/issue/KT-59081 https://youtrack.jetbrains.com/issue/KT-59081/WASM-Cant-catch-index-out-of-bounds-and-divide-by-0-exceptions#focus=Comments-27-9038762.0-0 > Now the OOB exceptions are not throwing in a matter of code size and code speed. Please use `-Xwasm-enable-array-range-checks` to enable OOB checking.
AsyncInjector might have been useful for some use-cases. But in practice, it is most of the time not used. When this was started there was not an option, and I...
In the meantime this hack would do: ```kotlin open class EsbuildCreateSymLink : DefaultTask() { private val realNodeModules = File(project.buildDir, "js/node_modules") private val linkNodeModulesProd = File(project.buildDir, "compileSync/js/main/productionExecutable/kotlin/node_modules") private val linkNodeModulesDev =...
Or at least throw an exception if they won't work after that.
As a View singleton. Similar to `View.simpleAnimator` that is parallel.
```kotlin fun T.positionWithAnchor(position: Point, anchor: Anchor): T { pos = position + size * Vector2(anchor.sx, anchor.sy) this.anchor(anchor) return this } ``` alternatively: ```kotlin fun T.positionWithAnchor(position: Point, anchor: Anchor): T {...