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

    green-thailand-63253

    08/31/2022, 5:32 PM
    oops i forgor about documentation
  • g

    green-thailand-63253

    08/31/2022, 5:32 PM
    sorry
  • f

    future-iron-61487

    09/01/2022, 12:42 AM
    the air runtime itself is a vm
  • f

    future-iron-61487

    09/01/2022, 12:42 AM
    so no native code needs to be produced for iOS
  • r

    rhythmic-wolf-50922

    09/01/2022, 4:59 PM
    I was referring to the command line tools for building an AIR app for iOS on Windows. no VM required to run them, as far as I know. they should be native Windows executables. however, iOS AIR apps do indeed contain native code. the AS3 bytecode from the .swf file is AOT compiled to native code using LLVM. they did it this way because Apple doesn't let iOS apps use JIT, and simply interpreting bytecode is too slow. so there needed to be a way to generate native code to get decent performance. it's actually pretty cool
  • o

    orange-van-60470

    09/03/2022, 4:44 PM
    I believe that AIR app is just a swf and resources in a zip. Used to be able to compile Zinc on a mac to run on windows as well. main problem back then was class path differences especially with winNT and win98 and mac. I presume AIR is not too different from zinc, so a c++ player that has swf player inside. In theory you could create a Cppia target for OpenFL. The cppia you compile would be cross platform and the player you have one for each target
  • o

    orange-van-60470

    09/03/2022, 4:45 PM
    In mac you can kind of inject resouces into a an app as it is structured very similar to a directory
  • o

    orange-van-60470

    09/03/2022, 4:46 PM
    I think it has a checksum that may require modifying, but used to inject tmbundle plugins into textmate1.app
  • o

    orange-van-60470

    09/03/2022, 4:47 PM
    and you can go into apps and delete language bloated files.
  • o

    orange-van-60470

    09/03/2022, 4:48 PM
    I am unsure on licencing I forget how that worked with flex, I think you needed to sign air apps on a mac
  • o

    orange-van-60470

    09/03/2022, 4:50 PM
    The important aspect with mac and pc with respect to openfl is that on mac if using haxe c++ sys code directly with files you have to ../../ to be outside the app
  • o

    orange-van-60470

    09/03/2022, 4:51 PM
    but not on pc
  • o

    orange-van-60470

    09/03/2022, 4:51 PM
    because a mac app is like a folder structure
  • f

    few-ocean-27506

    09/04/2022, 11:33 PM
    can someone help me with this idk why its giving me this error message ;-;
  • f

    few-ocean-27506

    09/04/2022, 11:33 PM
    trying to compile to android target but i keep getting that error message
  • f

    few-ocean-27506

    09/04/2022, 11:34 PM
    i tried to find solutions online but none of them seem to be working
  • t

    thousands-state-46635

    09/06/2022, 7:37 PM
    How do I get a path from a file reference?
  • t

    thousands-state-46635

    09/06/2022, 7:37 PM
    I dont wnt the user to have to "Save as" every time
  • e

    elegant-twilight-61392

    09/06/2022, 7:38 PM
    openfl.filesystem.File
    ?
  • t

    thousands-state-46635

    09/06/2022, 7:48 PM
    Oh wow
  • t

    thousands-state-46635

    09/06/2022, 7:48 PM
    Thats like sys.io.File++
  • e

    elegant-twilight-61392

    09/06/2022, 7:49 PM
    oh are you using
    sys.io.File
    ?
  • e

    elegant-twilight-61392

    09/06/2022, 7:49 PM
    because this is #769686284318146561 lmao
  • t

    thousands-state-46635

    09/06/2022, 8:10 PM
    nono
  • t

    thousands-state-46635

    09/06/2022, 8:10 PM
    I was using filereference
  • t

    thousands-state-46635

    09/06/2022, 8:10 PM
    but for like saving without a prompt i was using sys.io.File
  • t

    thousands-state-46635

    09/06/2022, 11:06 PM
    how do i get openfl to shut up about shaders
  • t

    thousands-state-46635

    09/06/2022, 11:06 PM
    theyre openfl shaders btw, its not something i can really fix
  • t

    thousands-state-46635

    09/06/2022, 11:14 PM
    Pretty sure theyre drowning all my trace() calls
  • t

    thousands-state-46635

    09/06/2022, 11:14 PM
    Ones that are run at the start*
1...121314...57Latest