Actionscript

Aug
8

Default Values with Null Coalescing Paul

Actionscript

The null coalescing operator is a rarely used but useful operator for initializing your objects. Often times you’ll have a method that accepts optional arguments. If your arguments are typed to non primitive objects (anything other than Strings, Numbers or Booleans), you’re usually stuck setting their default value of your parameter to null. This makes…

Jul
7

Setting Up Adobe Alchemy for Flash Jon Keon

Actionscript, Flash

If you aren’t aware, Alchemy is a tool made by Adobe that allows you to compile C or C++ code into AS3 Byte Code as a SWC or SWF file that you can then include in your traditional AS3 projects. While this is pretty cool, Adobe dropped the ball in terms of documenting just how…

Jun
6

Coding the Universe Jon Keon

Actionscript, Flash

So I’ve been enjoying the work of Greg Martin lately. (Art of Greg Martin) His work is pretty impressive and I thought it would be cool to see what kind of imitations I could come up with in Flash. Now if you google Flash 3D Planets, you get a wide variety of results. With no…

Apr
4

Continuous Integration in Flash and the Feature Switchboard Paul

Actionscript, Flash, Workflow

Recently, I worked on a large-scale game that had to be deployed to production in stages. First came the core gameplay experience, followed by a series of updates over the next few months that added bells and whistles. After the initial deployment it became obvious that bugs would need to be fixed and deployed to…

Jan
1

Tracer – Better Debugging in AS3 Jon Keon

Actionscript, Flash, Workflow

When developing in Flash, I find that I often lace my code with traces to see what certain values are, whether the code has entered a function or not, or even just to give myself a note to remind me of a certain behaviour that is in the program. What I’ve found though is that…