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

    adventurous-salesclerk-9917

    09/28/2022, 4:09 PM
    I'm asking more because I also wanted to learn AS3 for a while since so many of my childhood was made with it But since AS3 can only be used with AIR now days and it's 16 years old, tough id give Haxe and OpenFL a try to learn more about how the coding was of some of the games i play and played
  • h

    hallowed-ocean-84954

    09/28/2022, 4:22 PM
    if you read the flash docs and the openfl docs some of it is just lifted verbatim. I've never used AS3 ( or any other AS ) but I believe the correlation here would be AS3 Haxe and Flash OpenFL. I don't know how similar AS3 and Haxe are - but I've not needed that to learn Haxe so far - but OpenFL was originally based directly on Flash API as far as I know. And the doc shows it. But OpenFL has diverged in various places of course.
  • a

    adventurous-salesclerk-9917

    09/28/2022, 4:26 PM
    I'm pretty sure OpenFL Flash ≠ OpenFL = Flash API Just so you don't accidentally confuse other begginers Because it's not like you can draw in openfl like flash
  • h

    hallowed-ocean-84954

    09/28/2022, 4:26 PM
    good point
  • h

    hallowed-ocean-84954

    09/28/2022, 4:26 PM
    yes OpenFL API -> Flash API
  • h

    hallowed-ocean-84954

    09/28/2022, 4:26 PM
    OpenFL - Flash
  • h

    hallowed-ocean-84954

    09/28/2022, 4:27 PM
    are distinct - and it's in the impl where you will see divergence most I think
  • h

    hallowed-ocean-84954

    09/28/2022, 4:30 PM
    you can draw in openfl though
  • a

    adventurous-salesclerk-9917

    09/28/2022, 4:56 PM
    Are you thinking of Drawing something on the screen? Because I mean Drawing as in Flash Professional/Animate/Paint.Net, not as drawing something on the screen
  • h

    hallowed-ocean-84954

    09/28/2022, 5:05 PM
    oh - yeah not a drawing application as such - drawing apis on the graphics canvas
  • a

    adventurous-salesclerk-9917

    09/28/2022, 5:10 PM
    Yep I meant the first, not the latter
  • r

    rhythmic-wolf-50922

    09/28/2022, 7:54 PM
    as I understand it, you can import the library symbols drawn with Animate into OpenFL. it's part of OpenFL's assets system, and you need to install the "swf" Haxelib.
  • a

    adventurous-salesclerk-9917

    09/28/2022, 7:55 PM
    Do you have any idea what swflite is for?
  • a

    adventurous-salesclerk-9917

    09/28/2022, 9:10 PM
    Does OpenFL support Stage3d or do I need the openfl-stage3d package for that?
  • h

    hallowed-ocean-84954

    09/28/2022, 9:11 PM
    it has stage3d
  • h

    hallowed-ocean-84954

    09/28/2022, 9:12 PM
    I don't know openfl-stage3d is though
  • h

    hallowed-ocean-84954

    09/28/2022, 9:13 PM
  • r

    rhythmic-wolf-50922

    09/28/2022, 9:23 PM
    I think that there are a couple of different output formats that OpenFL can use for handling swf assets. swflite is one of them. I don't know much about the differences between these formats because I haven't needed to use swf assets in any of my projects yet.
  • r

    rhythmic-wolf-50922

    09/28/2022, 9:24 PM
    I think that there's an animate format for swf assets that's the default, and that's probably what you should try to use.
  • a

    adventurous-salesclerk-9917

    09/28/2022, 9:26 PM
    Everything I know is that it is on haxelib
  • r

    rhythmic-wolf-50922

    09/28/2022, 9:26 PM
    OpenFL supports Stage 3D without any other libraries
  • r

    rhythmic-wolf-50922

    09/28/2022, 9:27 PM
    but maybe it didn't in the past
  • r

    rhythmic-wolf-50922

    09/28/2022, 9:27 PM
    that was before my time
  • a

    adventurous-salesclerk-9917

    09/28/2022, 9:27 PM
    Yeah Was just curious I think swflite is the output of
    Copy code
    openfl process file.swf
  • a

    adventurous-salesclerk-9917

    09/28/2022, 9:28 PM
    Wich was used before actual swf support id Guess
  • a

    adventurous-salesclerk-9917

    09/28/2022, 9:28 PM
    I see
  • h

    hallowed-ocean-84954

    09/29/2022, 4:08 AM
    can openfl render OpenGL as wireframe ? If so any idea how ? I am using Context3D and that's rendering fine well except that I think I have a geometry problem. viewing as a wireframe would help.
  • a

    adventurous-salesclerk-9917

    09/29/2022, 7:56 PM
    I'm curious, did you need to ask The Away Foundation Team permission before porting Away3D to Haxe?
  • r

    rhythmic-wolf-50922

    09/29/2022, 8:35 PM
    Away3D was already under a permissive open source license, so no need to ask permission
  • a

    adventurous-salesclerk-9917

    09/29/2022, 8:48 PM
    yeah fair
1...161718...57Latest