Sahil Bajaj
10/20/2021, 12:07 PMSahil Bajaj
11/23/2021, 6:28 AMoverride suspend fun Container.sceneMain() {
val filterContainer = ClipContainer()
filterContainer.setSize(400.0, 600.0)
filterContainer.pos = Point(100.0, 100.0)
this.addChild(filterContainer)
val image = Image(resourcesVfs["test_image.jpg"].readBitmap().slice())
image.setSize(400.0, 600.0)
filterContainer.addChild(image)
val filter = LUTFilter("underwater.png")
filterContainer.addFilter(filter)
}
Attaching the screenshots (when translation is 0,0).. and with incorrect cropping (when translation is 100,100)Sahil Bajaj
12/14/2021, 9:03 AMDaniel Souza Bertoldi
04/08/2022, 12:28 PMMaxim Kostenko
04/09/2022, 9:27 PMrotateY
animation in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotateYbenkuly
05/04/2022, 5:21 AMUnsupportedOperationException: No suitable image format : MAGIC:ノPNG(89504e47) (ノPNG)
when running this code in nodeJs. It works on JVM and js/browser:
suspend fun createThumbnail(file: ByteArray, maxWidth: Int, maxHeight: Int): Thumbnail {
val image = file.asMemoryVfsFile().readNativeImage() <-- I think the exception throws here.
val resizedImage = image.resizedUpTo(maxWidth, maxHeight)
return Thumbnail(resizedImage.encode(PNG), ContentType.Image.PNG, resizedImage.width, resizedImage.height)
}
Any idea? Maybe I'm using the API wrong.shabanotti
05/20/2022, 2:24 AMPhilipp Smorygo [JB]
05/30/2022, 10:01 PMiosMain
sourceSet, for example?
2. Is there a way to use KorGE game/library with already existing Xcode project? From what I see KorGE generates an Xcode project, but it is always updated automatically when I edit assets, for example. Is it possible to use embedAndSignAppleFrameworkForXcode
gradle target to generate .framework
of the game to be used with another project? (see https://blog.jetbrains.com/kotlin/2021/07/multiplatform-gradle-plugin-improved-for-connecting-kmm-modules/)y9san9
07/02/2022, 3:08 PMDeactivated User
08/03/2022, 11:44 AMjuh juh
08/11/2022, 7:50 AMjuh juh
08/11/2022, 9:26 AMjuh juh
08/14/2022, 9:57 PMjuh juh
08/15/2022, 9:38 AMbuild.gradle.kts
of kotlin-multiplatform module that DOES NOT depend on korge, and I also don't know how to import that module in korge moduleDeactivated User
08/22/2022, 8:28 AMdeviant
09/05/2022, 12:13 PMwithAndroidContext()
method in your coroutine body`
what does it mean and how can i make my sound layer as generic as possible?rtsketo
09/18/2022, 2:54 PMJoakim Forslund
10/12/2022, 8:45 AMDeactivated User
10/24/2022, 4:57 AMbenkuly
10/24/2022, 8:55 AMupdate
and doFinal
)?Piotr Krzemiński
11/29/2022, 9:58 AMCarlos Ballesteros Velasco
05/01/2023, 9:28 PMCarlos Ballesteros Velasco
05/09/2023, 9:47 AMCarlos Ballesteros Velasco
05/11/2023, 4:35 PMCarlos Ballesteros Velasco
05/13/2023, 10:42 AMAlex HEDLEY
06/01/2023, 8:59 PMAlex HEDLEY
06/01/2023, 8:59 PMCarlos Ballesteros Velasco
06/03/2023, 11:46 PMCarlos Ballesteros Velasco
06/03/2023, 11:47 PM