I'm starting a project using the KorGE library, and I would like to use Retrofit as XML parser.
So I try to follow this guide, which seems fine, but I just poorly get stuck by adding the dependencies in the first step.
I already have the KorGE…
I'm working on a rather simple game with Kotlin using KorGe. It works just fine on the JVM, but when I try to run an androidDebug/release it throws the following error:
Execution failed for task ':compileTestKotlinJvm'.
Error while evaluating…
I'm trying to test out the Kotlin Game engine called Korge. I downloaded the default "Hello world!" template directly from their website.
After downloading, I created a new project from existing files with IDEA and tried to run gradle's script…
A KorGE Game Library example game (CounterStrike) has the following construct:
sealed class SideEffect{
class Hit() : SideEffect()
class TerroristShot(val terrorist: Terrorist) : SideEffect()
class KillTerrorist(val terrorist:…
I would like to rotate long image representing hand of a clock.
I have following code:
val hand = Image(handBitmap).apply {
scaledHeight = 50.0
scaledWidth = 400.0
anchor(.0, 0.5)
addUpdater {
rotation…
I want to try the Korge libs on the JVM.
I used the Korge IntelliJ plugin to create a new project.
My build.gradle.kts looks like this :
import com.soywiz.korge.gradle.*
buildscript {
val korgePluginVersion: String by project
repositories {
…
I want to use Fleks ECS as shown in this example:
https://github.com/korlibs/korge-next/tree/main/samples/fleks-ecs
How to setup my KorGE project to be able to import the Fleks library?
I would like to use Open Source KorGE Game Engine.
I'm using Android Studio and I would like to know if anyone know how to import the library. I've installed the plugin following the setup documentation.
Could anyone show me how to setup right my…
com.soywiz.korinject.AsyncInjector$NotMappedException: Class 'class ChooseCampaign (Kotlin reflection is not available)' doesn't have constructors RequestContext(initialClazz=class ChooseCampaign (Kotlin reflection is not available))
Above…
I create two SolirRect in random position and drag them on each other, but hitTestView() always return null
val list = mutableListOf()
fun box() = solidRect(width / 10, height / 10, randColor()) {
anchor(0.0, 0.0)
scale(1.0)
…
I'm not sure if this is the best place to ask this question or not but I feel like I'm struggling to grasp something relatively simple and can't find any decent advice on it in relation to KorGE so if anyone can offer any assistance it would be much…
Has anyone experienced unresolved reference in build.gradle.kts?
The relevant part of my build.gradle.kts:
import com.soywiz.korge.gradle.*
buildscript {
repositories {
mavenLocal()
maven { url =…
I changed box2d example to spawn circles. But the physic looks wrong. For example, when the circle stops jumping, it is not on the rectangle, but is immersed in the rectangle.
solidRect(600, 100, Colors.WHITE)
.position(100, 412)
…