It’s been quite a while since I gave you any news about our upcoming game, Alien Invasion. I’ve been telling you about The Logicon, the G3 UI Library and the GFG Library, but nothing about what Gamaddiction is really all about! Games!
That’s just because I’ve simply been too into Alien Invasion to write about it! Ever since the middle of February when I started development, I’ve been like a crazy scientist never leaving his laboratory. And before that, Alien Invasion mostly consisted of work at The Logicon, which was supposed to be the game’s component to handle arithmetic computations, but got branched into a completely separate project.
But now, after two months of hard work, Alien Invasion is already at version 0.4! I finished implementing all the math-related stuff, which I wanted to get out of the way as soon as possible. A great deal of art created by Alex has also been imported and right now, I’m busy hunting some memory leaks, profiling & optimizing the game ::- ). Here, have a look!

AI Memory Leak Hunting
That’s the Flash Builder Profiler. It’s a wonderful tool for any professional Flash Player developer. Without it, your game/application might end up with sluggish performance at best, or crash your user’s browser at worst.
Luckily, my search has been quite successful. I found an issue when parsing the game’s XML data which cut the game’s memory usage in half. Remember to never put XML objects in Arrays where you want strings without casting them to String first: what will happen is that you’ll end up with an Array with XML objects in it, and XML objects eat a lot of memory!
Also remember to look very carefully at your game’s art, especially if you draw your shadows dynamically, based on the size of a certain object. Take a look at the following picture and try to spot the problem. Awww, too late, I already circled it for you.

AI Bunker Shadow Bug
The shadow of the Bunker spills over the hill. Not good. But I fixed it, of course ::- ).
And yes, I just showed you the very first picture from our upcoming game ::- D. Enjoy it, it’ll be the last I’ll be posting for a while ::- D. The graphics are still in alpha stage, especially the landscape and the UI, but you can already see that we’ve been using our G3 UI Library in the game.
There are many more things to show, but I’m thinking of uploading some nicely narrated videos, because people now-a-days are lazy readers ::- D. Aren’t you? Ok, ok, I admit it: it would be hard to write & upload pictures of all the features that the game has in it!