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

    billowy-train-84579

    01/18/2023, 4:20 AM
    does lime support running inside android without SDL2/JVM dependancy
  • b

    billowy-train-84579

    01/18/2023, 5:18 AM
    or rather, can lime be ran without depending on SDL2 itself
  • f

    future-iron-61487

    01/18/2023, 8:24 AM
    I mean it has to do /something/ in the browser that isn't SDL2
  • f

    future-iron-61487

    01/18/2023, 8:25 AM
    (AFAIK it's not using wasm/asm.js/emscripten but actually running as a javascript program w/ canvas+webgl)
  • f

    future-iron-61487

    01/18/2023, 8:26 AM
    I haven't looked at the implementation details though
  • p

    powerful-morning-89

    01/18/2023, 11:04 AM
    > AFAIK it's not using wasm/asm.js/emscripten but actually running as a javascript program w/ canvas+webgl Correct.
  • p

    purple-toddler-22641

    01/18/2023, 7:40 PM
    I have a question regarding Assets.getBytes() because I'm trying to track down an issue that might be cache-related
  • p

    purple-toddler-22641

    01/18/2023, 7:42 PM
    According to the code,
    getBytes
    does not use the cache for assets of type BINARY (relevant to me) and TEXT. However, I feel like it still does for me
  • p

    purple-toddler-22641

    01/18/2023, 7:43 PM
    Could this be related to the
    #if (tools && !display)
    condition it's wrapped in? I'm not sure what
    tools
    and
    display
    mean
  • e

    elegant-twilight-61392

    01/18/2023, 7:46 PM
    i know
    display
    is for the language server
  • p

    purple-toddler-22641

    01/18/2023, 7:47 PM
    I found this, saying
    #tools
    means it only affects the building of the lime executable itself https://github.com/openfl/lime/issues/1395#issuecomment-650557583
  • p

    purple-toddler-22641

    01/18/2023, 7:48 PM
    Not sure if that's true though, because if it is,
    getAsset
    would just always return null, making me wonder how any assets would ever be gotten at all
  • b

    billowy-painting-21448

    01/18/2023, 10:08 PM
    I'm trying to debug from vscode for hashlink target anyone knows how to configure it correctly, I'm using lime and haxeflixel? I can debug correctly to html
  • r

    rhythmic-wolf-50922

    01/18/2023, 10:17 PM
    an update to the Lime VSCode extension needs to be released for HashLink debugging to work properly with the latest version of Lime. we'll be doing it soon.
  • b

    billowy-painting-21448

    01/18/2023, 10:18 PM
    Ah, thanks. at least I know the problem isn't me 😛
  • h

    hallowed-ocean-84954

    01/18/2023, 10:20 PM
    Something like this in your launch.json should help in the meantime
    Copy code
    {
      "name": "HashLink",
      "type": "hl",
      "request": "launch",
      "hl": "${workspaceFolder}\\Export\\hl\\bin\\<EXENAME>.exe",
      "cwd": "${workspaceFolder}\\Export\\hl\\bin",
      "program": "${workspaceFolder}\\Export\\hl\\bin\\hlboot.dat"
    }
  • p

    purple-toddler-22641

    01/18/2023, 10:26 PM
    Nobody got an idea about the cache thing?
  • b

    billowy-painting-21448

    01/18/2023, 10:32 PM
    thanks 🙂
  • m

    melodic-advantage-23638

    01/19/2023, 3:36 AM
    I was wondering about hashlink debugging.
  • m

    melodic-advantage-23638

    01/19/2023, 3:36 AM
    Good to know it wasn't just me
  • m

    melodic-advantage-23638

    01/19/2023, 3:37 AM
    I figured out the separate launch config to run hl directly too though
  • b

    billowy-train-84579

    01/19/2023, 7:58 AM
    does anyone know how i might be able to get lime to run in android without SDL2 and without JVM
  • b

    billowy-train-84579

    01/19/2023, 8:00 AM
    for example, inside an existing OpenGL application
  • s

    square-angle-35096

    01/20/2023, 9:51 PM
    is there any way to enable/disable vsync during runtime?
  • s

    square-angle-35096

    01/20/2023, 9:52 PM
    like, modifying some code from lime
  • s

    square-angle-35096

    01/20/2023, 9:52 PM
    where's vsync enabled anyways
  • a

    able-action-74275

    01/20/2023, 10:09 PM
    it's an attribute in the window element in project.xml
  • e

    elegant-twilight-61392

    01/20/2023, 10:10 PM
    > during runtime
  • a

    able-action-74275

    01/20/2023, 10:10 PM
    not sure if there is access through code once it is running but... possibly
  • a

    able-action-74275

    01/20/2023, 10:11 PM
    >>> where's vsync enabled anyway
1...525354...138Latest