00:00
00:00
Newgrounds Background Image Theme
Upgrade Your Account!

HO HO HOPE you become a Newgrounds Supporter this year!

We're working hard to give you the best site possible, but we have bills to pay and community support is vital to keep things going and growing. Thank you for considering!

Become a Supporter so NG can see another Christmas!

problems with as2 or why is it still used?

598 Views | 7 Replies
New Topic Respond to this Topic

I'm a flash programmer who has experience going through many people, but he didn't stop, I'm currently working with 1 person, this is a very big game written in action script 2, it's much bigger than abobo big adventure, and this is now a demo version, just believe that a game for a language that has not been updated for several years is something, I am one of several programmers, my main tasks are connecting the code and adding “effects”, for example adding parallax, and from this moment the problems begin


1) as strange as this may sound, for some reason AS2 is afraid of moving from file to file, that is, if you have a tab with an AS2 class and a .fla game file, and if you switch from .fla to a class, then you will get an error, and you need to restart the project build 2 times, you will not find this error in a regular program (which you write) like Excel on AS2, but if you write a large game you will find many problems with transitions to other files


2) #include is a very convenient thing that will reduce writing code in frames, but some code does not work there, I had a video recording where I showed that the code does not work in #include, but in the frame it works best, and the same goes for calling functions


3) I’ll show you this site: https://www.f-in-box.com/ , it seems to be a very good site, it collects as2 swf files into a full-fledged .exe file using flash player 32, but here the problem is the fact that there is nothing better than this option, and there is an AMV1 emulator, and all as2 applications work slowly, this is not a ruffle for you, well, you understand


4) weak typing, this is a very important thing which is the main mistake, if there is no strong typing then you will have a lot of errors that will only slow down the game, I wrote a game many years ago, and I had an error in 1 function, but the program it worked, but when I fixed it (the mistake), everything started to go faster, so that’s a very big minus


and this raises the question, how much does AS2 cost, why not switch to more popular languages, try writing something in TypeScript, or in C# and java, even as3 is more profitable, you’re just shooting yourself in the foot when you write big games in AS2, I don’t I’m saying that this is bad language, I’m saying that either you need to make small games, or make game folders like for God, or just understand that I’m hating the client and not what I’m doing, thank you


and tell me why you continue to write on as2

Response to problems with as2 or why is it still used? 2023-12-29 05:36:29


The only reason I use AS2 these days (if I do) is because I want to make something that is compatible with ruffle. The moment ruffle support for AS3 is full, I'm ditching AS2 ASAP. I don't have any legacy projects in it that I still maintain, and AS3 is superior in all regards. Back in the day I used AS2 because I didn't feel like transitioning to AS3, but once I did, my god did working with AS2 feel like pulling teeth.


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

"Sit look rub panda" - Alan Davies

BBS Signature

Response to problems with as2 or why is it still used? 2023-12-29 06:08:45


At 12/29/23 05:36 AM, Gimmick wrote:The only reason I use AS2 these days (if I do) is because I want to make something that is compatible with ruffle. The moment ruffle support for AS3 is full, I'm ditching AS2 ASAP. I don't have any legacy projects in it that I still maintain, and AS3 is superior in all regards. Back in the day I used AS2 because I didn't feel like transitioning to AS3, but once I did, my god did working with AS2 feel like pulling teeth.


Yes, I understand, I’m currently doing a small project and I chose as2 only for compatibility with ruffle, it’s a nightmare, and because you can’t see errors and because you can’t write :RegExp because it will give an error that you didn’t import the class even though you you can see the import line

Response to problems with as2 or why is it still used? 2023-12-31 22:31:52


Its on my bucket list to make a few Flash games but once that's over I'm immediately going to switch to GameMaker or Godot or something that doesn't force me to write solutions for everything.


[1] - [2]

Response to problems with as2 or why is it still used? 2024-01-01 02:18:19


At 12/31/23 10:31 PM, Nabella wrote:Its on my bucket list to make a few Flash games but once that's over I'm immediately going to switch to GameMaker or Godot or something that doesn't force me to write solutions for everything.

I'm not saying that Flash is bad, for me SWF is the best animation file format, and don't forget that in addition to the action script there is also Hexe

Response to problems with as2 or why is it still used? 2024-01-01 02:41:27


At 1/1/24 02:18 AM, mtv129 wrote:I'm not saying that Flash is bad, for me SWF is the best animation file format, and don't forget that in addition to the action script there is also Hexe


A part of me just feels behind the curve since it has taken me a few months to create a crappy makeshift grid editor with a for loop and dozens of arrays while Gamemaker apparently has something like that built-in with mouse controls.


Animating in Flash feels really easy, I'll give it that, especially so if your sprites are super simple. It also just feels cool to draw assets, animate them, and then immediately use them in-game all in the same program instead of having to export a PNG sequence in one program, import it into an engine, and then fiddle with whatever animation system is in there.


[1] - [2]

Response to problems with as2 or why is it still used? 2024-01-30 09:32:40


i still use as2 because its easy for me

Response to problems with as2 or why is it still used? 2024-01-30 10:04:37


At 1/30/24 09:32 AM, SuperGibaLogan wrote:i still use as2 because its easy for me


yes, but this is until the moment when you understand that placing objects with code is much easier and more beautiful than on the stage, as soon as this happens it will not be entirely convenient for you, you won’t notice it right away, but as soon as you see the addChild() function in as3 then you will be disgusted by as2, you will hate him


for me, a good flash programmer is a person who arranges all objects with code, you can use adobe flash to graphics objects, but I will never understand how to place objects manually without code, or you make an “engine” for an animator