Navigation

    KorGE

    • Register
    • Login
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. LuxxorOne
    L
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    LuxxorOne

    @LuxxorOne

    0
    Reputation
    7
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    LuxxorOne Follow

    Best posts made by LuxxorOne

    This user hasn't posted anything yet.

    Latest posts made by LuxxorOne

    • RE: Some questions regarding KorGe3D

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

      posted in General
      L
      LuxxorOne
    • RE: Some questions regarding KorGe3D

      Also I tried to track a 'cube' which moves in 3D space with a drawn 'rect' in 2D space.

      val cube = box().position(1, 1 ,1)
      val rect = solidRect(50, 50, Colors["#6d95ff3d"]).xy(10,10)
      
      rect.addHrUpdater { rect.xy(cube9.x, cube9.y) }
      
      tweenAsync(cube::x[10], time = 3.seconds, easing = Easing.EASE_IN_OUT)
      tweenAsync(cube::y[5], time = 2.seconds, easing = Easing.EASE_IN_OUT)
      tweenAsync(cube::z[400], time = 10.seconds, easing = Easing.EASE_IN_OUT)
      

      Obviously this didnt't work so well...
      Any idea how this can be done? (That way I could fake clickable 3D objects for now...)

      posted in General
      L
      LuxxorOne
    • Some questions regarding KorGe3D

      I know that KorGe3D is in preview/experimental but I still got some questions:

      1. Is it possible to assign a color to a material without applying a texture?
        I tried to find out how to do that but I couldn't make it work.

      2. Is there already any way to check for overlaps? (Not physics, just general overlaps)
        I think this probably can be done in code directly but I only know how to do this in Haxe, not in Kotlin/KorGE.

      3. Mipmapping?

      Thanks.

      posted in General
      L
      LuxxorOne
    • RE: Text input / Text input field?

      I'll try that, thanks.

      posted in General
      L
      LuxxorOne
    • RE: Tweens of anything else but position/rotation...

      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!

      posted in General
      L
      LuxxorOne
    • Text input / Text input field?

      Hey there.

      Is there any way to get text input? Like for getting player name (i.e. for high score list), etc?

      Thanks.

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

      For example: How can I do tweening of colors or other parameters?

      I tried to read up on "bound callable references" but still don't really understand them in this context.

      I get it when I write something like this:

      fun addTwo(x: Int) = x + 2
      var list = listOf(1, 2, 3, 4).map(::addTwo) // # => [3, 4, 5, 6]
      println(list)
      

      But I don't understand this:

      You have to use bound callable references to define properties that will change"

      Can someone give an example in KorGE context how to tween a non-trivial/arbitrary parameter please (like color?
      I also don't get how to get bytes data from RGBA color in general btw. )

      Thanks.

      posted in General
      L
      LuxxorOne