https://linen.dev logo
Join Discord
Powered by
# lime
  • b

    bulky-insurance-39338

    01/03/2023, 8:28 PM
    interesting, will that be later integrated also into: ?
  • r

    rhythmic-wolf-50922

    01/03/2023, 8:29 PM
    I'm not familiar with this class, so I can't say for sure. I assume that if it already works today on other targets, it will work once we enable HiDPI in SDL on windows
  • b

    bulky-insurance-39338

    01/03/2023, 8:33 PM
    ah, i should test also on android ... at now only on desktop windows-cpp and html (there also dpi is changing relative to browser-zoom \o/)
  • b

    bulky-insurance-39338

    01/03/2023, 8:40 PM
    ( will be relevant for my ui-stuff where e.g. a touch-button allways have to be 1cm x 1cm into size .. wanna make that sometimes automatically there for every target and in depend of display.dpi and available size! )
  • f

    fancy-state-42548

    01/03/2023, 9:33 PM
    ok a little summary of my problem: SetLayeredWindowAttributes with a colorkey doesnt work on my main display yet the exact same function works in a different c++ app semi transparency like 50% alpha on the entire window does work, but colorkeys dont also a link to the original question for more detail: https://discord.com/channels/162395145352904705/162395145352904705/1059923184306094110
  • s

    square-angle-35096

    01/04/2023, 10:59 PM
    i get this error when trying to compile for android:
  • s

    square-angle-35096

    01/04/2023, 10:59 PM
    Copy code
    bat
    source/lime/utils/Log.hx:4: characters 8-28 : Type not found : android.widget.Toast
  • e

    elegant-twilight-61392

    01/04/2023, 11:04 PM
    what version of the NDK are you using
  • s

    square-angle-35096

    01/04/2023, 11:12 PM
    25.1.8937393
  • a

    able-action-74275

    01/04/2023, 11:18 PM
    the most up to date android info I know of relating to haxe/lime/openfl is here it states ndk r21 is the newest we can use
  • s

    square-angle-35096

    01/04/2023, 11:19 PM
    oh
  • s

    square-angle-35096

    01/04/2023, 11:19 PM
    ok
  • s

    square-angle-35096

    01/04/2023, 11:20 PM
    yea i was reading the lime github thing
  • s

    square-angle-35096

    01/04/2023, 11:20 PM
    and that didn't point out anything about ndk version
  • s

    square-angle-35096

    01/04/2023, 11:20 PM
    grahhh
  • a

    able-action-74275

    01/04/2023, 11:20 PM
    yeah it's annoying
  • s

    square-angle-35096

    01/04/2023, 11:21 PM
    wait but how do i change the ndk version
  • s

    square-angle-35096

    01/04/2023, 11:21 PM
    i don't really see anything about that in android studio
  • s

    square-angle-35096

    01/04/2023, 11:21 PM
    do i have to download it from the web?
  • a

    able-action-74275

    01/04/2023, 11:21 PM
    probably easiest to do that yeah, maybe even the only way as it's an old one
  • a

    able-action-74275

    01/04/2023, 11:22 PM
    that page should get you going anyway
  • a

    able-action-74275

    01/04/2023, 11:23 PM
    you can probably do
    lime setup android
    rather than
    openfl setup android
    (same for other openfl commands)
  • a

    able-action-74275

    01/04/2023, 11:24 PM
    in case you're not using openfl
  • s

    square-angle-35096

    01/04/2023, 11:24 PM
    i'm using openfl too
  • s

    square-angle-35096

    01/04/2023, 11:24 PM
    but i did lime setup android and
  • s

    square-angle-35096

    01/04/2023, 11:24 PM
    it tried to build
  • s

    square-angle-35096

    01/04/2023, 11:24 PM
    just gave me that error
  • s

    square-angle-35096

    01/04/2023, 11:25 PM
    lol
  • s

    square-angle-35096

    01/04/2023, 11:25 PM
    so i guess i don't need to do
    openfl setup android
  • a

    able-action-74275

    01/04/2023, 11:26 PM
    if you download a new ndk you need to let lime know where it is
1...454647...138Latest