https://linen.dev logo
Join Discord
Powered by
# openfl
  • a

    abundant-exabyte-79096

    01/13/2023, 6:56 PM
    hl never loads for me
  • o

    orange-van-60470

    01/13/2023, 6:56 PM
    ogg works on firefox
  • o

    orange-van-60470

    01/13/2023, 6:57 PM
    for native wav maybe fastest for testing
  • a

    ambitious-knife-25690

    01/13/2023, 6:57 PM
    you need to download it and set it up
  • a

    ambitious-knife-25690

    01/13/2023, 6:57 PM
    doesn't take too long
  • a

    able-action-74275

    01/13/2023, 6:57 PM
    it comes with lime but you probably still need to run
    lime setup hl
    at the least, though I'm not certain about this
  • a

    abundant-exabyte-79096

    01/13/2023, 6:59 PM
    I did all this
  • o

    orange-van-60470

    01/13/2023, 6:59 PM
    i am fan of cppia with nme... most of nme and openfl are compatible unless you need feathers or away
  • o

    orange-van-60470

    01/13/2023, 7:00 PM
    for native should atleast consider nme/openfl code base as testing nme on android via cppia and acadnme is so easy
  • p

    powerful-morning-89

    01/13/2023, 7:02 PM
    Testing OpenFL on Android is also easy, just takes a tiny bit longer to compile.
  • a

    abundant-exabyte-79096

    01/13/2023, 7:02 PM
    I will be using feathers & away in future
  • a

    abundant-exabyte-79096

    01/13/2023, 7:03 PM
    I would like to know which is good for debugging ? I mean with breakpoints
  • o

    orange-van-60470

    01/13/2023, 7:03 PM
    https://lib.haxe.org/p/openfl-ffmpeg/
  • p

    powerful-morning-89

    01/13/2023, 7:05 PM
    Uuuh. Neither? C++ builds are probably better because you get "source code" (in this case transpiled C++), but Cppia is JIT so you don't get any source code at all to step through.
  • b

    brief-account-34985

    01/13/2023, 7:05 PM
    The marketplace version of the lime extension has trouble with finding the hl executable. Debug on cpp/neko for now or compile the latest version from git
  • a

    abundant-exabyte-79096

    01/14/2023, 9:25 AM
    I am getting the following error: when trying to
    openfl test air -android
    Copy code
    WARNING: could not find appropriate Java Home location for v8+ JDK
    NOTE: The application has been packaged with a captive runtime.
    Error: The specified target path "null/platform-tools/" does not exist
  • a

    ambitious-knife-25690

    01/14/2023, 10:40 AM
    you need to setup java
  • a

    ambitious-knife-25690

    01/14/2023, 10:43 AM
    and android development, openfl may have a guide on the website
  • a

    abundant-exabyte-79096

    01/14/2023, 12:29 PM
    But I have java installed and setup ? Yes, I found the guide going through it.
  • a

    able-action-74275

    01/14/2023, 12:37 PM
    the feathers android setup page has the most up to date info
  • a

    abundant-exabyte-79096

    01/14/2023, 12:38 PM
    cool, i will look into it as well.
  • a

    abundant-exabyte-79096

    01/14/2023, 12:39 PM
    Regarding Native Extensions, will I be able to use an adobe air native extension in haxe? I mean like, import the extension in a class and then write specific code for it?
  • a

    ambitious-knife-25690

    01/14/2023, 1:03 PM
    using native extensions, or, target specific code in haxe is possible in haxe, same for all targets. But i'm not sure how it is done for adobe air
  • a

    abundant-exabyte-79096

    01/14/2023, 1:06 PM
    In the documentation it says :
  • a

    abundant-exabyte-79096

    01/14/2023, 1:08 PM
    but will we be able use it in the code? For example I have an .swc compiled in Actionscript? I wont be able to access it in haxe right ?
  • a

    ambitious-knife-25690

    01/14/2023, 1:25 PM
    i don't know anything about the air target but the guide says that you can
  • a

    ambitious-knife-25690

    01/14/2023, 1:25 PM
    try it out and see
  • h

    hallowed-ocean-84954

    01/15/2023, 5:57 AM
    Does anyone know why a png with transparent white sections would render those as black ? I'm rendering through the Context3D as a RectangleTexture. I can get the image to render ok by discarding low alpha fragments but I was expecting it to render white in those places until I start messing with blending and/or explicitly discarding fragments. Does OpenFL do anything special with 0 alpha like make it black when rendering or loading ?
  • b

    bored-psychiatrist-68708

    01/16/2023, 3:30 PM
    BlendMode.NONE will render alpha as black
  • b

    best-agent-85158

    01/16/2023, 3:41 PM
    can openfl have a transparent background when compiling to html?
1...303132...57Latest