Navigation

    KorGE

    • Register
    • Login
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • General
    • Support
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • Yuri Volkov

      Publishing KorGe-based apps in the F-Droid repository - Android Open Source app market
      General • • Yuri Volkov  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Jero Wang

      Why the text widget centerOn() method is notwoking?
      General • • Jero Wang  

      2
      0
      Votes
      2
      Posts
      4
      Views

      Yuri Volkov

      I also noticed that centerOn stopped working (at least in some cases) after some KotGe library upgrade. And I easily changed this to the manually calculated positioning ( position(x, y) ) E.g. in https://github.com/andstatus/game2048/blob/master/src/commonMain/kotlin/org/andstatus/game2048/presenter/Block.kt I changed: centerOn(this@graphics) to position(cellSize / 2, cellSize / 2)
    • Никита Денисов

      How to create a level similar to the mario level from the snake that was written for the competition?
      General • • Никита Денисов  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Saiful Anwar

      Text Wrapping
      General • • Saiful Anwar  

      4
      1
      Votes
      4
      Posts
      21
      Views

      Yuri Volkov

      @Saiful-Anwar Thank you for the contribution! I only had to fix it a bit and add wrapping for e.g. Chinese texts, and it works well for my Help screen. https://github.com/andstatus/game2048/blob/master/src/commonMain/kotlin/org/andstatus/game2048/view/WrappableText.kt
    • Yuri Volkov

      High CPU usage when game is idle
      General • • Yuri Volkov  

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • I

      How do we handle long press?
      General • • IMBurnin  

      2
      0
      Votes
      2
      Posts
      14
      Views

      I

      ended up doing this.: var down = false onDown { down = true GlobalScope.launch { delay(500) if (down) { // do the thing } } } onUp { down = false }
    • G

      Integration with existing apps
      General • • Gwekabel  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • I

      How to load isometric tilesets?
      General • • IMBurnin  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • Bart Kors

      rotation point when rotating a sprite
      Support • • Bart Kors  

      2
      0
      Votes
      2
      Posts
      8
      Views

      soywiz

      That's called "anchor" on KorGE. image.anchor(0.5, 0.5) should do the trick
    • Sujith Krishnan

      Availability of korlibs libraries in npm registry
      Support • • Sujith Krishnan  

      3
      0
      Votes
      3
      Posts
      9
      Views

      Sujith Krishnan

      My final output of the Kotlin multiplatform project is JS (node module) library JVM lib (jar). All good with projects which using my JVM jar as the pom XML have the korlibs (JVM jars) from maven. The issue is with JS projects using my js library. So, to answer your question, YES, I am consuming it from a NodeJS project, which expects the js version of these libraries to present in the npm registry. I can see a question already there for klock w.r.t this. https://github.com/korlibs/klock/issues/54
    • RezMike

      KorGE Tutorial - Writing 2048 game
      General • • RezMike  

      4
      1
      Votes
      4
      Posts
      49
      Views

      Yuri Volkov

      @RezMike Thank you for the tutorial and for the working game app! I think that KorGe community may be also interested in my 2048 game implementation that I created based on it. But it's not a clone of that repository: it's a rewrite aiming at becoming a (board) game template that is easy to modify, to extend and to play with using Kotlin programming language and KorGe game engine. Following this goal, the source code has been structured and cleaned. We're trying to use board games terminology (e.g. Glossary of chess) in order ease understanding of implementation logic. Please see https://github.com/andstatus/game2048
    • L

      Some questions regarding KorGe3D
      General • • LuxxorOne  

      4
      0
      Votes
      4
      Posts
      8
      Views

      L

      I see, no problem. I was expecting that this might be pretty far out there. Thanks anyways!
    • N

      Why is Korma's Easing interface not an enum?
      General • • nanodeath  

      3
      0
      Votes
      3
      Posts
      12
      Views

      N

      To close the loop on this, I've submitted a PR to change this in korge-next and it's been merged.
    • L

      Text input / Text input field?
      General • • LuxxorOne  

      3
      0
      Votes
      3
      Posts
      7
      Views

      L

      I'll try that, thanks.
    • L

      Tweens of anything else but position/rotation...
      General • • LuxxorOne  

      3
      0
      Votes
      3
      Posts
      4
      Views

      L

      I just found that out by myself, lol. This is so easy, I was looking to get the bytes r/g/b separate... Very cool!
    • K

      Networking examples?
      General • • kgsxr  

      4
      0
      Votes
      4
      Posts
      9
      Views

      soywiz

      I'm afraid we don't have that yet. We don't have too much resources, so we are focusing on the code. But any contribution in that direction will be awesome.
    • D

      Gamepad not recognised
      Support • • donhilion  

      2
      0
      Votes
      2
      Posts
      4
      Views

      soywiz

      I think gamepad is not supported on windows JVM. Just created this issue for that: https://github.com/korlibs/korge-next/issues/29
    • P

      Change/Hide Mouse Cursor?
      Support • • PsionMage  

      2
      0
      Votes
      2
      Posts
      6
      Views

      soywiz

      On HTML5, you cannot hide the cursor completely except when the mouse is down AFAIK. korge-next already has support for changing the cursor to a predefined one and hiding the cursor while the mouse is down. We can try to support custom cursor images. Just created this issue: https://github.com/korlibs/korge-next/issues/28
    • I

      ECS and Shaders
      General • • ilum  

      2
      0
      Votes
      2
      Posts
      8
      Views

      soywiz

      I think we discussed that on slack/discord already. No ECS provided by the engine, but some people talked about that stuff via chat, so not sure if someone will work on a ECS engine. Regarding to shaders: Shaders on KorGE are usually applied via filters, and created using a DSL for that. Please, check this link: https://github.com/korlibs/korge/blob/16aac42d6cf0e4eed19e088e12b73282661cf0f4/korge/src/commonMain/kotlin/com/soywiz/korge/view/filter/WaveFilter.kt#L31-L40
    • Fabio Bezzi

      Android in app purchase
      General • android • • Fabio Bezzi  

      2
      0
      Votes
      2
      Posts
      7
      Views

      soywiz

      We plan to support that directly at some point. But in the meantime, you can create a project using korge-admob module as reference (using expect and actual per platform): https://github.com/korlibs/korge/tree/16aac42d6cf0e4eed19e088e12b73282661cf0f4/korge-admob