00:00
00:00
Newgrounds Background Image Theme

BlakeNator72 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

The Flash 'Reg' Lounge

3,298,041 Views | 60,216 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2025-05-19 01:43:10 (edited 2025-05-19 01:44:21)


[@'s for multiple replies: @xeiavica, @detergent1, @MSGhero]


At 5/18/25 02:28 PM, xeiavica wrote:Does it defeat the purpose of using flash if you're not going to use ActionScript?


I oscillate back and forth between being a retro purist and maximalist. Regardless, I think what the Flash community is trying to do is kind of unique within this space: they're trying to keep the platform viable, if niche. As a result, the Flash community uses the word "preservation" very differently than the rest of the retro community (if they should even be considered retro). They're not trying to "preserve" Flash games in the sense of giving you an accurate recreation of the experience circa 20XX. They're trying to keep the games playable and on even footing with other games written in other technologies. I think the distinction is subtle but important. You can see the proof in how non-traditional an "emulator" Ruffle is and where Tom puts his money. Ruffle doesn't let you pick a particular version of the Flash runtime to emulate, instead its more of a "fantasy" version that tries to play everything the best it can, even if that means most games run "better" than they would have back in the day. Similarly, Tom recently paid for gamepad support to be added to every Flash game on the site retroactively. That's a feature meant to keep Flash relevant/competitive not to preserve an experience that never really existed.


In that light, I don't see how using Haxe defies the spirit or purpose of using Flash. There's also the fact that unlike gamepad support, Haxe *was* there back in the day (2005). Loving Flash but hating Adobe is not a new thing. :) Hell, Haxe (or at least HEAPS) is practically a Motion Twin technology. Is anyone on this forum really gonna look you in the eye and say that Motion Twin of all people aren't a Flash developer? It's a silly idea.


And I was apparently wrong about not being able to use the Haxe in the IDE. I forgot about the "-as3" flag, which saves the transpiled ActionScript. I'm not sure if the flag is still supported in the absolute latest version of Haxe, but there are other ways, like JPEXS, to get to the ActionScript. Depending on how you set things up, using Haxe with a vintage IDE might be not be any harder than using an external text editor. 


At 5/18/25 07:59 PM, detergent1 wrote:when I was looking at Haxe I wanted to know about its macro system (a few months ago), but at the time the documentation I tried to read was quite inaccessible and unhelpful, so I didn't bother and moved on and dismissed it :(


It's not really your fault. The documentation leans very heavily on the reader having previous experience, realizing the macro keyword is equivalent to the backtick in Lisp, and then skipping the rest of the documentation. In implementation though, it's a super impressive system. I've never seen anything so flexible for a language with this complex a syntax. If you really want to understand it, I hate to tell you learn Lisp first, but it certainly is helpful.


At 5/18/25 03:00 PM, MSGhero wrote:A lot of Tink is now core to Haxe's standard library, so I don't find it attractive anymore since there's so much overlap. There was a point years ago where I was quite into it, but now it's a lot of dependencies just for the one thing you need.


You're right about Tink being less needed nowdays. I literally meant that the code itself was beautiful. Just the beauty of the design trinity of Surprises, Promises, and Futures is mind blowing to me. I hope that before I die, I can do so much with so little.

Response to The Flash 'Reg' Lounge 2025-05-19 04:08:37


At 5/18/25 11:00 AM, alsoknownas1 wrote:the streaming system for @KittyhawkMontrose. Def give it a shot.

You did that and in Haxe to boot?! I had no idea!


Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature

Response to The Flash 'Reg' Lounge 2025-05-19 04:27:07


At 5/19/25 04:08 AM, Gimmick wrote:
At 5/18/25 11:00 AM, alsoknownas1 wrote:the streaming system for @KittyhawkMontrose. Def give it a shot.
You did that and in Haxe to boot?! I had no idea!


Yeah. If memory serves that was my first biggish Haxe project that wasn't a game. It started my whole falling down the rabbit hole of metaprogramming. Hell, Haxe is a big part of why NG stayed my mind and I'm here now. I had used Haxe for a one off Navy thing where a microcontroller and an Adobe Air app (remember those?) had to compute something exactly the same way. That worked really well, so the thought was: wouldn't it be nice to write the IRC client and the IRC bot in the same language? It was!


Response to The Flash 'Reg' Lounge 2025-05-19 07:04:26


At 5/19/25 01:43 AM, alsoknownas1 wrote:[@'s for multiple replies: @xeiavica, @detergent1, @MSGhero]
At 5/18/25 02:28 PM, xeiavica wrote:Does it defeat the purpose of using flash if you're not going to use ActionScript?


I oscillate back and forth between being a retro purist and maximalist. Regardless, I think what the Flash community is trying to do is kind of unique within this space: they're trying to keep the platform viable, if niche. As a result, the Flash community uses the word "preservation" very differently than the rest of the retro community (if they should even be considered retro). They're not trying to "preserve" Flash games in the sense of giving you an accurate recreation of the experience circa 20XX. They're trying to keep the games playable and on even footing with other games written in other technologies. I think the distinction is subtle but important. You can see the proof in how non-traditional an "emulator" Ruffle is and where Tom puts his money. Ruffle doesn't let you pick a particular version of the Flash runtime to emulate, instead its more of a "fantasy" version that tries to play everything the best it can, even if that means most games run "better" than they would have back in the day. Similarly, Tom recently paid for gamepad support to be added to every Flash game on the site retroactively. That's a feature meant to keep Flash relevant/competitive not to preserve an experience that never really existed.

In that light, I don't see how using Haxe defies the spirit or purpose of using Flash. There's also the fact that unlike gamepad support, Haxe *was* there back in the day (2005). Loving Flash but hating Adobe is not a new thing. :) Hell, Haxe (or at least HEAPS) is practically a Motion Twin technology. Is anyone on this forum really gonna look you in the eye and say that Motion Twin of all people aren't a Flash developer? It's a silly idea.

And I was apparently wrong about not being able to use the Haxe in the IDE. I forgot about the "-as3" flag, which saves the transpiled ActionScript. I'm not sure if the flag is still supported in the absolute latest version of Haxe, but there are other ways, like JPEXS, to get to the ActionScript. Depending on how you set things up, using Haxe with a vintage IDE might be not be any harder than using an external text editor.
At 5/18/25 07:59 PM, detergent1 wrote:
when I was looking at Haxe I wanted to know about its macro system (a few months ago), but at the time the documentation I tried to read was quite inaccessible and unhelpful, so I didn't bother and moved on and dismissed it :(


It's not really your fault. The documentation leans very heavily on the reader having previous experience, realizing the macro keyword is equivalent to the backtick in Lisp, and then skipping the rest of the documentation. In implementation though, it's a super impressive system. I've never seen anything so flexible for a language with this complex a syntax. If you really want to understand it, I hate to tell you learn Lisp first, but it certainly is helpful.
At 5/18/25 03:00 PM, MSGhero wrote:
A lot of Tink is now core to Haxe's standard library, so I don't find it attractive anymore since there's so much overlap. There was a point years ago where I was quite into it, but now it's a lot of dependencies just for the one thing you need.


You're right about Tink being less needed nowdays. I literally meant that the code itself was beautiful. Just the beauty of the design trinity of Surprises, Promises, and Futures is mind blowing to me. I hope that before I die, I can do so much with so little.

What about using a python/perl/whatever script to convert AS2 to HaXe? How complicated would that be? I do know one is in Java, but not sure how the quality is.


"If you're going through hell... keep going."

~ Winston Churchill (Maybe)

BBS Signature

Response to The Flash 'Reg' Lounge 2025-05-20 04:07:15


I just installed JPEXS Free Flash Decompiler

wtf

it is just marvelous

my faith in technology is reinstated. I'm literally crying. it will be so much more easier to write my thesis


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to The Flash 'Reg' Lounge 2025-05-29 11:56:45


what the fuck is a V-Cam ?


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to The Flash 'Reg' Lounge 2025-05-29 12:17:46


At 5/29/25 11:56 AM, detergent1 wrote:what the fuck is a V-Cam ?