https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
korge
  • y

    y9san9

    09/29/2021, 11:05 AM
    @Deactivated User, Hi. Could you please help with using BigInt and sql delight if you had experience with the last 🙂
    r
    d
    • 3
    • 9
  • c

    Carl Bateman

    09/30/2021, 8:29 AM
    I have downloaded the basic KorGE demo scene, and ran into an issue: if I create more than two images and added a filter to each of them, the app crashes almost immediately on mobile. Doesn't matter the filter (whether it's a blur, an Identity Filter, whatever) or the size of the image. On JVM, it seems to be working properly and smoothly, but running on mobile it simply crashes. The error I'm getting is
    Fatal signal 11 (SIGSEGV) at 0x42a637d9 (code=1)
    Seems like some sort of concurrency issue. Having a class that runs glFinish() on every render pass mitigates the problem to a certain point (up to 8 to 10 images), but even with small amount of images and running a very simple filter, the FPS drops to about 8 or 9.
    d
    m
    +2
    • 5
    • 30
  • c

    Carl Bateman

    09/30/2021, 12:52 PM
    I'd like to deploy Korge to work to my Android phone, but there's no device menu available. A default Android has this option. Is there a setting I've missed?
    d
    • 2
    • 3
  • d

    Deactivated User

    10/03/2021, 1:57 PM
    Just finished documenting KorIM 🎉🥳: https://korlibs.soywiz.com/korim/ we are now one step closer to having a decent documentation
    :mind-blown: 2
    🥳 5
    • 1
    • 1
  • d

    Deactivated User

    10/05/2021, 9:02 PM
    Just added the new in-browser search engine 🌟 to the documentation. It is experimental, so feel free to let me know about issues. It should be able to search in code blocks and be fast enough. Try for example searching for
    quadTo
    Also moved the documentation to a new location: https://docs.korge.org/
    🎉 3
    • 1
    • 2
  • p

    Piotr Krzemiński

    10/08/2021, 5:12 PM
    Is there any support for 3D physics? I want to make a simulation of a grabber that grabs an item from one place to another.
    d
    • 2
    • 1
  • a

    Akshay Verma

    10/11/2021, 7:43 AM
    vfsFile.writeChunk(byteArray, offset = offset)
    this doesn't seem to be working in iOS (or any write methods be it as trivial as
    writeString()
    ) The file creation is happening so there must be some problem inside write method
    d
    • 2
    • 4
  • d

    Deactivated User

    10/18/2021, 7:34 PM
    KorIM in action within a Jupyter Notebook with a Kotlin Kernel : https://github.com/korlibs/korlibs-jupyter/blob/00f96a0e442c0f1150fb807f7869949decdec1dd/korim.ipynb (edited)
    🔥 5
    • 1
    • 1
  • s

    Sahil Bajaj

    10/20/2021, 12:07 PM
    @Deactivated User We've been trying to get korge to run in a secondary thread on iOS. With some modifications in korgw, korge and korim (primarily by making some global properties ThreadLocal), it seems to run. But we can't seem to get anything rendered on the screen. We've tried to monitor the flow through the BatchRenderer and then OpenglAG. It all seems okay. there are no gl errors as well. Could you advise how we can dive deeper?
    d
    • 2
    • 6
  • s

    Sahil Bajaj

    11/23/2021, 6:28 AM
    Hey Carlos, @Deactivated User So we’ve been working with filters on korge. We’ve noticed an issue. When we apply a filter on a ClipContainer (with translation), the clip is applied incorrectly and the output is cropped.
    override 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)
    d
    • 2
    • 3
  • s

    Sahil Bajaj

    12/14/2021, 9:03 AM
    Hey Carlos, it seems that currently Image rendering ignores Exif info. So any rotation/flip is ignored. Any idea where it is wrt the roadmap?
    • 1
    • 1
  • d

    Daniel Souza Bertoldi

    04/08/2022, 12:28 PM
    Hello people! I’m currently watching each KorGE tutorial and I’m having a bit of a problem with the collision tutorial… I’m sure my code is the same as the one in the

    YouTube tutorial▾

    , but for some reason my circle color won’t change when it collides with any of the rectangles 😕 Is there a new way of checking collisions? Reading the docs I couldn’t find anything too different from what the tutorial already teaches.
    Gravação de Tela 2022-04-08 às 09.18.12.mov
    a
    • 2
    • 1
  • m

    Maxim Kostenko

    04/09/2022, 9:27 PM
    Hi, I’m new to Korge and am currently trying to build a sample game to get familiar with an engine. I was wondering if there is a way to do a flip animation with a Korge view? Smth similar to
    rotateY
    animation in CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotateY
    d
    • 2
    • 2
  • b

    benkuly

    05/04/2022, 5:21 AM
    Hi 🙂 I get
    UnsupportedOperationException: 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.
    • 1
    • 1
  • s

    shabanotti

    05/20/2022, 2:24 AM
    hi all, good to be here 🙂 thanks to all who made Korge possible, enjoying it a lot so far! Still learning a lot and don't understand much about game development like some of you here, but this is definitely an interesting journey.
    v
    • 2
    • 1
  • p

    Philipp Smorygo [JB]

    05/30/2022, 10:01 PM
    Hi. I didn’t find the information online, so I’m asking for community advice. 1. Is there a way to use some platform-specific APIs, like placing code in
    iosMain
    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/)
    d
    • 2
    • 2
  • d

    Deactivated User

    06/21/2022, 3:10 PM
    🔥 Hot reloading in the next version of KorGE 🙂

    https://www.youtube.com/watch?v=cEbONN41Sa0▾

    🔥 6
  • y

    y9san9

    07/02/2022, 3:08 PM
    @Deactivated User Hello! Can you please take a look: https://github.com/korlibs/kbignum/issues/15 I need to have common ios target for your library ;(
    d
    • 2
    • 4
  • d

    Deactivated User

    08/03/2022, 11:44 AM
    KorGE 3.0 Released! 🎉🎉🎊 Hot Reloading, Gpu Vector Rendering, Emoji support, Masks, Backdrop Filters, New Bezier functionalities, tons of fixes and much more! https://blog.korge.org/korge-3.0/
  • j

    juh juh

    08/11/2022, 7:50 AM
    Hello, right now I'm choosing a library for my game, so I want to ask: Does KorGE have something like LibGDX collections, that are highly optimized? Performance is very critical for my game, so boxing is too expensive in some places
    h
    • 2
    • 2
  • j

    juh juh

    08/11/2022, 9:26 AM
    Also, if I want to have an embedded scripting language in my game, and I hate LUA from the deepest parts of my heart, what other options exists on multiplatform kotlin? These things are suprprisingly hard to google, so I couldn't find any
  • j

    juh juh

    08/14/2022, 9:57 PM
    Is there a way to use gradle subprojects with korge? If yes, is there some kind of guide or at east an example? Beacuse rn I'm very confused at how it all woks The thing I want is to have multiple subprojects with isolated functionality, and a separate subproject for my korge game that will import thsoe other projects
  • j

    juh juh

    08/15/2022, 9:38 AM
    This is what I managed to create so far, but it just doesn't work. https://gitfront.io/r/user-1387702/AYBPqKGXdPwD/korge-modules/ I don't know what I should write in
    build.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 module
    h
    • 2
    • 1
  • d

    Deactivated User

    08/22/2022, 8:28 AM
    * Hey folks, note that 3.0.0 had a last minute issue where the JVM autoreloading was not working (an artifact was not published). It has been fixed for the same 3.0.0 version and now it works properly.
  • d

    deviant

    09/05/2022, 12:13 PM
    hey guys i'm trying to play sound with korau and getting this error on android (desktop and web are fine) `java.lang.IllegalStateException: Android context not set! Please call
    withAndroidContext()
    method in your coroutine body` what does it mean and how can i make my sound layer as generic as possible?
    r
    • 2
    • 1
  • d

    Deactivated User

    09/19/2022, 8:33 AM
    That’s a 3d transformation. Not supported yet. But there are plans for it: https://github.com/korlibs/korge/issues/812
  • j

    Joakim Forslund

    10/12/2022, 8:45 AM
    Hi, I'm trying to use the korio httpserver to continuously serve json, however the httpserver dies after the first request, https://github.com/korlibs/korge/issues/1041 Am I forgetting something?
  • d

    Deactivated User

    10/24/2022, 4:57 AM
    Presenting Jitto, Gest & Koral: https://blog.korge.org/korge-mascots
  • b

    benkuly

    10/24/2022, 8:55 AM
    Is it possible to use AES CTR in a streamable way like the Java API (
    update
    and
    doFinal
    )?
    d
    • 2
    • 1
  • p

    Piotr Krzemiński

    11/29/2022, 9:58 AM
    @soywiz “Deactivated User”? 😲
    b
    m
    r
    • 4
    • 5
Powered by Linen
Title
p

Piotr Krzemiński

11/29/2022, 9:58 AM
@soywiz “Deactivated User”? 😲
b

benkuly

02/02/2023, 2:23 PM
Does anyone know more?
p

Piotr Krzemiński

02/02/2023, 2:24 PM
he’s pretty active on GitHub, so he’s probably alive
m

Marc

02/10/2023, 3:55 PM
discord is still alive
r

rtsketo

03/01/2023, 8:53 PM
Is KorGE alive though?
m

Marc

03/02/2023, 4:25 PM
i would say so, last commit was 1hr ago 🙂
View count: 41