March 2010 Archives
A while back, I posted an entry on the universe of cross-compiled code and the power of Adobe Alchemy. At that time, I put in a good word for the most publicized example of Alchemy at work: Flash Doom. Well, not content to just please the nostalgic gamer masses, Mike Walsh, the creator of this surprising port, is bringing smiles to curious Flash developers everywhere. He has just released the source code for the latest version of the conversion, the Doom Triple Pack. The Triple Pack includes the shareware episodes of Doom, Hexen, and a personal favourite of mine, Heretic.
In case you wanted a refresher on what Alchemy does, here is the one sentence "nutshell": Alchemy allows C and C++ code to which hooks have been added to be cross-compiled to AVM2 byte-code and built into a SWF file which can be loaded into a Flash application. The intent of this experiment was to provide a means of making existing (legacy or open source) libraries available to serious, business-driven Flash applications. As is often the case, despite the "useful" nature of this technology, game developers have driven the cutting edge and come up with something quite unexpected.
Get the Source
As mentioned above, Mike posted the source to the Triple Pack on GitHub a few days ago, to little fanfare. If you'd like to see exactly how he pulled it all off, now's your chance. I've only had time to poke around a little but his custom pre-loader is in there, as are reams of C code (ah, the nostalgia!). Shortly after the original release of Flash Doom, Mike explained the ins and outs of his endeavour in this interview with Peter Elst.
Also, here is a link to a step-by-step guide to compiling your own Alchemy-powered Doom. It is not by Mike but might help in making heads or tails of his source.
With all the hype surrounding the impending arrival of Flash 10.1 on the major mobile OSes and AIR on Android, those of use who live in the northern climes of the Dominion of Canada have for months coveted our southern neighbours' access to Google's Nexus One, the undisputed heavyweight champion of Android smartphones.
Well, covet no longer ye denizens of the North, your prayers have been answered!
Rejoice Canuck Mobile Flash Developers
Google has just launched the unlocked (i.e. contract-free) Nexus One to Canada. It supports three 3G bands (850, 1900 and 2100 MHz) and four GSM frequencies (850/900/1800/1900 MHz). This means than unlike the previously available US-only model, it is fully compatible with the Rogers 3G network and is being officially sold into Canada (for $520USD).
The Specs of this phone are currently pretty much unparalleled in today's market:
- Its 3.7" touchscreen runs at a resolution of 800 X 480 (dwarfing the iPhone 3GS' lovely 480 X 320 screen).
- It runs on a 1GHz Qualcomm "Snapdragon" CPU and 512MB of RAM.
Other notable goodies:
- 5MP camera (w/ up to 20fps video)
- Bluetooth 2.1 + EDR w/ stereo A2DP support
- Android 2.1 OS (aka "Eclair") running a full suite of Google-centric apps integrated with Google Search, Google Maps, etc. etc.
The key (for me):
- Coming soon: Full Flash 10.1 and Mobile AIR support (Boo-yah!)
Thou Shalt not Covet
The best way to get to know the Nexus is to visit the Nexus One YouTube Channel set up by Google. Sure, it's a marketing site but it really shows off how they designed and manufactured this juggernaut of smartphone prowess.
If and when I manage to close out this current project and if I get approval from my boss, I hope to soon launch into serious Flash/Flex/AIR development targeted at phones such as this and the incoming crop of Android Tegra II tablets. I'll surely be blogging soon about this new adventure.
In the mean-time, check out these demos of Flash running in the browser on a Nexus One: