Pablo Caviglia
11/16/2020, 4:40 PMTask with path ‘genResources’ not found in root project ‘tool_framework_multi_platform’.
Dave
11/17/2020, 7:20 PMja.son
11/18/2020, 2:20 AMPablo Caviglia
11/23/2020, 2:40 PMPal Matolay
11/24/2020, 8:01 PMPablo Caviglia
11/29/2020, 12:06 PMidea {
module {
setDownloadJavadoc(true)
setDownloadSources(true)
}
}
Deactivated User
11/30/2020, 1:15 AMAlexey Chuprin
12/01/2020, 9:07 AMtargetJs()
, call ./gradlew jsWeb
, but gradle says Task 'jsWeb' not found in root project...
. What could be the problem?solidogen
12/01/2020, 4:05 PMMichael Sigl
12/01/2020, 5:27 PMPablo Caviglia
12/01/2020, 5:53 PMMichael Sigl
12/02/2020, 4:05 PMbitmap.writeTo(localvfs("file.png"), PNG)
, so that they are played like an animation? I know how do to it in Java, but I cannot import .java classes into korgekartikpatodi
12/03/2020, 3:47 PMMax
12/03/2020, 10:16 PMPablo Caviglia
12/05/2020, 5:48 AMMichael Sigl
12/06/2020, 11:57 AMjeff
12/08/2020, 2:50 AMsuspend fun main() = Korge(width = 1920, height = 1080) {
val mainTree = resourcesVfs["main.ktree"].readKTree(views)
addChild(mainTree)
val board = mainTree["board"].first as Image
val camera = camera {
this.centerOn(board)
}
}
Mayank
12/15/2020, 12:33 PMjeff
12/15/2020, 10:32 PM> Task :korgeProcessedResourcesJvmMain
java.lang.IllegalStateException: textures:4 > maxTextures:1
at com.soywiz.korim.atlas.AtlasPacker.packPairs(AtlasPacker.kt:28)
at com.soywiz.korim.atlas.AtlasPacker.pack(AtlasPacker.kt:20)
at com.soywiz.korim.atlas.AtlasPacker.pack$default(AtlasPacker.kt:19)
at com.soywiz.korge.atlas.AtlasResourceProcessor.processInternal$suspendImpl(AtlasResourceProcessor.kt:44)
at com.soywiz.korge.atlas.AtlasResourceProcessor$processInternal$1.invokeSuspend(AtlasResourceProcessor.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:84)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.soywiz.korge.resources.ResourceProcessorRunner.run(ResourceProcessorRunner.kt:52)
...snip...
Max
12/16/2020, 9:04 AMval view = SolidRect(width = 20.0, height = 5.0, color = Colors.RED)
view.tween(view::x[10.0, 100.0], time = 1000.milliseconds)
view.tween(*view::x*[10.0, 100.0], ...) does not work as view.x is Koltin.Double and not KMutableProperty
Am i doing something wrong or does this not work when i am using korge-js and not the common api?jeff
12/19/2020, 5:01 AMmyView.onClick { ... }
is there a way to clear/remove that listener? Couldn't find anything in the documentation...Tom Baku
12/20/2020, 1:54 PMgraphics {
position(leftIndent, leftIndent)
fill(Colors["#cec0b2"]) {
roundRect(cellSize, cellSize, 3.0) {
position(10, 10)
}
}
}
It seems that the first position method with leftIndent and leftIndent as parameters is not working. For me that roundRect is positioned at 10, 10. I would expect that 10, 10 is added to leftIndent for x and y.
I am sure that I misuse the parameters or have something configured wrongly.
Any idea?
Thx for helpjeff
12/21/2020, 2:29 AMLazard
12/21/2020, 10:50 AMPablo Caviglia
12/21/2020, 4:36 PMjeff
12/21/2020, 11:02 PMContainer
be given an anchor? Or is there an alternative that can?
I have two views that I want to scale up and down together. I put them in a container thinking I could just change the container's `scale`but doing so makes them move as they scale, since they're using the parent container's "anchor" which is just the grandparent's origin. Thoughts?
(apologies for all the questions, and thanks to everyone who's been responding!)Pablo Caviglia
12/22/2020, 10:39 AMLazard
12/23/2020, 7:12 PMPablo Caviglia
12/27/2020, 4:20 AMMichael Sigl
12/27/2020, 9:57 AMMichael Sigl
12/27/2020, 9:57 AMMayank
12/27/2020, 10:09 AM