Flash ActionScript Battle

Ok, so I’m loving this whole battle arena thing. I propose a Flash ActionScript battle.

Maybe it all has to be done in AS (i.e. nothing in your library)…
Maybe you have a limit on the number of items in your library…
Maybe you’re limitted by the number of lines in your AS…

Of course, a mod would have final say, but I wanna hear your thoughts before we get a battle going with all the scripters out there!

-Al

Sounds exactly like Bit-101s montly 25 lines of AS contest where people would submit code of 25 lines or less that did an effect that involved absolutely nothing in the library.

Some amazing stuff popped up, and the more advanced the coder, the more obfuscated and unreadable the code.

It is a great idea, but I don’t think its as easy as it sounds. What counts as a line? I know when you use auto format it closes statements with a } on its own line, lol, so there will be more rules and such to set up.

Not shooting this idea down, just stating that if it goes down there will be more than just do something in AS :slight_smile:

maybe a limit on statements?
or
commands?

[SIZE=1]hope dan don´t get mad at me bumpig in his domains[/SIZE] :stuck_out_tongue:

If you guys want a line-limited thing, you could count a line as anything ending in “;”. However, I have seen contests that have limits on the number of lines and you’re right, it’s nigh impossible to understand the code. I think it would be more beneficial to all if the code were easy to understand so we could all learn and improve from other people’s submissions. A more realistic answer might be limitting the actual file size, once compiled. That way, the code stays readable, people can still comment their code (note that comments are not included in compiled swf files, so the source fla files would need to be made available, but the file size limit would be measured by the swf file), and people can even include stuff in their libraries, as long as they stayed under the file size limit. What do you think? The only drawback I can think of is people who really optimize their code (like with the conditional operator ?: instead of IF statements) which might make the code less readable for beginner flashers (but will hopefully show how to make clean, optimized code).

Another idea is that maybe the mod can assign like two library items (maybe sound files or images) that every contender has to include in their submission. But they cannot use any other library items. There would be no file size limit to this one, only the library limit. This would allow different people to use the two items in totally unique and interesting ways.

I’d like to hear what you think about these ideas and any ideas of your own.

-Al

Good ideas… some things to work around with them, but good :slight_smile:

I won’t be here later tonight or tomorrow so I hope to see ideas piling up here :slight_smile: