#openfl — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #openfl, aggregated by home.social.
-
Here are a few screenshots of another #AdobeFlex app compiled to JS with #ApacheRoyale and running on #OpenFL instead of #AdobeFlash.
This is the "Cafe Townsend" sample for the Cairngorm MVC framework. It demonstrates that I've gotten enough of Flex working to build a fully-functional CRUD-style app.
-
Here are a few screenshots of another #AdobeFlex app compiled to JS with #ApacheRoyale and running on #OpenFL instead of #AdobeFlash.
This is the "Cafe Townsend" sample for the Cairngorm MVC framework. It demonstrates that I've gotten enough of Flex working to build a fully-functional CRUD-style app.
-
Back in 2021, I put together a little proof-of-concept demonstrating a few Adobe Flex components running on top of OpenFL instead of Flash Player. I compiled the AS3 code to JS using the Apache Royale compiler.
Recently, I picked up this project again, and I've made a ton of improvements to both OpenFL and Royale. Here's a screenshot of the Flex Style Explorer sample compiled to JS. Styles, binding, states: all working!
#AdobeFlex #OpenFL #ApacheFlex #ApacheRoyale #AdobeFlash #ActionScript
-
Back in 2021, I put together a little proof-of-concept demonstrating a few Adobe Flex components running on top of OpenFL instead of Flash Player. I compiled the AS3 code to JS using the Apache Royale compiler.
Recently, I picked up this project again, and I've made a ton of improvements to both OpenFL and Royale. Here's a screenshot of the Flex Style Explorer sample compiled to JS. Styles, binding, states: all working!
#AdobeFlex #OpenFL #ApacheFlex #ApacheRoyale #AdobeFlash #ActionScript
-
OpenFL devlog: scale9Grid
How I recently implemented the scale9Grid property in OpenFL. This feature is sometimes called 9-slice scaling, but Flash doesn't just take a display object as a bitmap and slice it up into 9 pieces. It actually adjusts the placement of points on the vector shapes, which also leads to better looking gradient and bitmap fills. Read on…
-
OpenFL devlog: scale9Grid
How I recently implemented the scale9Grid property in OpenFL. This feature is sometimes called 9-slice scaling, but Flash doesn't just take a display object as a bitmap and slice it up into 9 pieces. It actually adjusts the placement of points on the vector shapes, which also leads to better looking gradient and bitmap fills. Read on…
-
And here's a screenshot of the Moonshine.dev visual form designer for #FeathersUI, #OpenFL, and #Haxe.
-
In collaboration with the Moonshine.dev team, a new visual form designer is now available for Feathers UI. Drag-and-drop GUI controls into containers (including nesting), edit common properties in the GUI, apply layouts (with percent sizing), and adjust font and background styles.
It generates MXHX markup, a new XML dialect for GUIs in Haxe, inspired by Adobe Flex's MXML, but targeted at Haxe instead of AS3.
https://feathersui.com/blog/2024/11/21/moonshine-dev-feathers-ui-drag-and-drop-visual-designer/
#Haxe #OpenFL #FeathersUI #MXHX #AS3 #AdobeFlex #ActionScript
-
And here's a few new pages of the #OpenFL Developer's Guide about different asset types. These are original content for the guide, as #AdobeFlash didn't have a built-in asset loading system like OpenFL does.
Working with bitmap assets
https://books.openfl.org/openfl-developers-guide/working-with-bitmaps/working-with-bitmap-assets.htmlWorking with byte array assets
https://books.openfl.org/openfl-developers-guide/working-with-byte-arrays/working-with-byte-array-assets.htmlWorking with font assets
https://books.openfl.org/openfl-developers-guide/using-the-textfield-class/working-with-font-assets.htmlEnd 🧵 (2/2)
-
And here's a few new pages of the #OpenFL Developer's Guide about different asset types. These are original content for the guide, as #AdobeFlash didn't have a built-in asset loading system like OpenFL does.
Working with bitmap assets
https://books.openfl.org/openfl-developers-guide/working-with-bitmaps/working-with-bitmap-assets.htmlWorking with byte array assets
https://books.openfl.org/openfl-developers-guide/working-with-byte-arrays/working-with-byte-array-assets.htmlWorking with font assets
https://books.openfl.org/openfl-developers-guide/using-the-textfield-class/working-with-font-assets.htmlEnd 🧵 (2/2)
-
Added several more sections to the #OpenFL Developer's Guide today.
Accelerometer input
https://books.openfl.org/openfl-developers-guide/accelerometer-input/Copy and paste
https://books.openfl.org/openfl-developers-guide/copy-and-paste/Web service requests
https://books.openfl.org/openfl-developers-guide/http-communications/web-service-requests.htmlThese three were converted to #Haxe from the classic #ActionScript Developer's Guide for #AdobeFlash (which was Creative Commons licensed by Adobe).
1/🧵
-
Added several more sections to the #OpenFL Developer's Guide today.
Accelerometer input
https://books.openfl.org/openfl-developers-guide/accelerometer-input/Copy and paste
https://books.openfl.org/openfl-developers-guide/copy-and-paste/Web service requests
https://books.openfl.org/openfl-developers-guide/http-communications/web-service-requests.htmlThese three were converted to #Haxe from the classic #ActionScript Developer's Guide for #AdobeFlash (which was Creative Commons licensed by Adobe).
1/🧵
-
Check out the new Feathers UI v1.3, with new Drag-and-Drop capabilities, the Collapsible component, a new optional dispose() method on all components, and ton of bug fixes.
https://feathersui.com/blog/2024/08/01/feathers-ui-version-1-3-haxe-openfl-release-announcement/
-
TilBuci is a software editing suite that allows you to create interactive content like narrative games and digital books. Built by Lucas Junqueira with #FeathersUI, #OpenFL, and #Haxe. It's free and #OpenSource!
Video:
https://www.youtube.com/watch?v=P1MxAHrJMMM
GitHub repo:
https://github.com/TilBuci/TilBuci -
Decided to try OpenFL... Enjoying it so far!
Building for Android is unnecessarily painful, but after A LOT of debugging I eventually figured it out.
-
Decided to try OpenFL... Enjoying it so far!
Building for Android is unnecessarily painful, but after A LOT of debugging I eventually figured it out.
-
My first OpenFL devlog of 2024: HashLink/C compilation for Windows, macOS, and Linux
HashLink is a runtime for the Haxe programming language. It can use bytecode and JIT, or it can cross-compile to pure C. In the past, OpenFL supported JIT only, but now HL/C is working too — with automated C compilation using gcc, clang, MinGW, and Visual Studio all working.
https://joshblog.net/2024/openfl-devlog-hashlink-c-compilation/
-
My first OpenFL devlog of 2024: HashLink/C compilation for Windows, macOS, and Linux
HashLink is a runtime for the Haxe programming language. It can use bytecode and JIT, or it can cross-compile to pure C. In the past, OpenFL supported JIT only, but now HL/C is working too — with automated C compilation using gcc, clang, MinGW, and Visual Studio all working.
https://joshblog.net/2024/openfl-devlog-hashlink-c-compilation/
-
More new #OpenFL docs.
HTTP communications: https://books.openfl.org/openfl-developers-guide/http-communications/
Mouse, keyboard, and touch input events:
https://books.openfl.org/openfl-developers-guide/mouse-input/
https://books.openfl.org/openfl-developers-guide/keyboard-input/
https://books.openfl.org/openfl-developers-guide/touch-multitouch-and-gesture-input/All code examples converted to #Haxe (and verified to compile and run… found some bug fixes in the process).
I will also add links to these documents into the OpenFL API Reference, to make them easier to find. And to present multiple formats of documentation in context, for folks who learn in different ways. 5/x
-
More new #OpenFL docs.
HTTP communications: https://books.openfl.org/openfl-developers-guide/http-communications/
Mouse, keyboard, and touch input events:
https://books.openfl.org/openfl-developers-guide/mouse-input/
https://books.openfl.org/openfl-developers-guide/keyboard-input/
https://books.openfl.org/openfl-developers-guide/touch-multitouch-and-gesture-input/All code examples converted to #Haxe (and verified to compile and run… found some bug fixes in the process).
I will also add links to these documents into the OpenFL API Reference, to make them easier to find. And to present multiple formats of documentation in context, for folks who learn in different ways. 5/x
-
Some of the new #OpenFL docs that I converted from #AdobeFlash this week thanks to Creative Commons:
Working with sound: https://books.openfl.org/openfl-developers-guide/working-with-sound/
Using the TextField class: https://books.openfl.org/openfl-developers-guide/using-the-textfield-class/
Working with byte arrays: https://books.openfl.org/openfl-developers-guide/working-with-byte-arrays/
4/x
-
Some of the new #OpenFL docs that I converted from #AdobeFlash this week thanks to Creative Commons:
Working with sound: https://books.openfl.org/openfl-developers-guide/working-with-sound/
Using the TextField class: https://books.openfl.org/openfl-developers-guide/using-the-textfield-class/
Working with byte arrays: https://books.openfl.org/openfl-developers-guide/working-with-byte-arrays/
4/x
-
Last summer, I manually scraped the entire #AS3 dev guide for #AdobeFlash, and I converted it to Markdown with some basic scripts and a little manual tweaking. I posted the result on GitHub: https://github.com/joshtynjala/actionscript-3.0-developers-guide
I’ve been trying to archive old Flash learning content lately. Maybe there will be a wave of nostalgia for that era of web games someday. Maybe some of it can be useful in unexpected ways to projects like #Ruffle and #OpenFL. It’s a part of web history and doesn’t deserve to be lost.
-
Did you know that the official #AdobeFlash docs were Creative Commons licensed? Very convenient for the #OpenFL project.
An earlier contributor started adapting the “ActionScript 3.0 Developer’s Guide” a while back. Several chapters about events and the display list were already converted using Gitbook. However, efforts stalled, and things like mouse/keyboard/touch, text rendering, and sound playback were never introduced. Those are essential core things that folks will want to learn about! 2/x
-
One of the things I’ve wanted to do since becoming an #OpenFL contributor (but hadn’t found the time) is add more documentation. Especially targeting new users unfamiliar with #AdobeFlash and maybe even newish to programming and not sure how to translate old #AS3 code to #Haxe.
This week, I tagged along on my wife’s work trip to Japan, and I decided docs would be a good thing to work on during my breaks from going out into Tokyo and doing touristy stuff. 🧵 1/x
-
Made some good progress implementing HL/C support for OpenFL this week. Got executables compiling with GCC on macOS, Linux, and Windows. Clang on macOS and Linux too. Visual Studio support will need to wait because it seems to require a Haxe compiler tweak for the C code generation. TextField.restrict seems to cause issues, and I didn’t find a workaround.