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

    calm-horse-72201

    03/18/2023, 10:12 PM
    i swore i remembered that the website provided a link to the latest commit but now i am checking and it links to the latest release
  • a

    able-action-74275

    03/18/2023, 10:12 PM
    only if you told lime to use that instance of hashlink though
  • c

    calm-horse-72201

    03/18/2023, 10:12 PM
    i have only that instance of hashlink
  • a

    able-action-74275

    03/18/2023, 10:12 PM
    lime ships with it's own
  • c

    calm-horse-72201

    03/18/2023, 10:12 PM
    oh, does it
  • c

    calm-horse-72201

    03/18/2023, 10:12 PM
    does that mean i could debug hashlink without downloading it myself
  • a

    able-action-74275

    03/18/2023, 10:13 PM
    yes
  • b

    bulky-insurance-39338

    03/18/2023, 10:13 PM
    yep
  • b

    bulky-insurance-39338

    03/18/2023, 10:13 PM
    its inside the haxelib folder inside of lime-libfolder
  • c

    calm-horse-72201

    03/18/2023, 10:13 PM
    could i test that right now by clearing the environment variable for HL_HOME or whatever it was called
  • a

    able-action-74275

    03/18/2023, 10:13 PM
    and if you download hashlink lime will ignore that until you run e.g.
    lime setup hl
    and tell it where to find the other installed version
  • b

    bulky-insurance-39338

    03/18/2023, 10:15 PM
    e.g. -> lib/lime/8,0,1/templates/bin/hl (and then subfolder for linux, windows or mac )
  • c

    calm-horse-72201

    03/18/2023, 10:15 PM
    i just set it to the default version with
    lime setup hl
    and it still has the exception so
  • c

    calm-horse-72201

    03/18/2023, 10:16 PM
    maybe i need to restart the ide
  • a

    able-action-74275

    03/18/2023, 10:16 PM
    it was probably using the default before as well
  • c

    calm-horse-72201

    03/18/2023, 10:16 PM
    ... so what is the source of the bug
  • c

    calm-horse-72201

    03/18/2023, 10:16 PM
    is it flixel, lime, or hashlink
  • a

    able-action-74275

    03/18/2023, 10:16 PM
    good question \:P
  • b

    bulky-insurance-39338

    03/18/2023, 10:17 PM
    or your code ;:)
  • c

    calm-horse-72201

    03/18/2023, 10:17 PM
    that is also possible
  • c

    calm-horse-72201

    03/18/2023, 10:17 PM
    i shall continue investigating
  • b

    bulky-insurance-39338

    03/18/2023, 10:17 PM
    \o/
  • a

    able-action-74275

    03/18/2023, 10:23 PM
    for what it's worth I see the same bug here with the following code
  • a

    able-action-74275

    03/18/2023, 10:24 PM
    Copy code
    hx
    var sprite = new FlxSprite();
    sprite.makeGraphic(60, 60);
    sprite.screenCenter();
    add(sprite);
    var fx = new FlxOutlineEffect();
    fx.apply(sprite.graphic.bitmap);
  • a

    able-action-74275

    03/18/2023, 10:24 PM
    not sure if that is even how to use FlxOutlineEffect though (seems unlikely)
  • c

    calm-horse-72201

    03/18/2023, 10:25 PM
    maybe try putting the sprite creation in
    create()
    and the
    apply()
    call in
    update()
  • c

    calm-horse-72201

    03/18/2023, 10:26 PM
    maybe the state needs to call
    draw()
    on the sprite before the outline effect can work properly
  • c

    calm-horse-72201

    03/18/2023, 10:27 PM
    i did this as a test just to check whether the error message would be different
  • c

    calm-horse-72201

    03/18/2023, 10:28 PM
    it is different, which means that the outline-related bug is happening somewhere in lime's native code
  • c

    calm-horse-72201

    03/18/2023, 10:29 PM
    i don't know much about cpp or hashlink but the "access violation" error for the outline bug makes me think that the function is missing on hashlink
1...888990...138Latest