“Games, you see, are about having control.
Videogames, most often, present the player with a world with a single end goal of “winning”. They are a perfect contrast to the real world, in which one makes one’s own goals, where goals and desires are constantly shifting, and the only ending anyone ever sees involves the main character dying.
News flash: most people in the world are not astronaut supervisors or rock-star-slash-helicopter-pilots. Most people never get an opportunity and/or have the balls to be the guy who shows up to his job in a big stuffy corporate office on his first day in a leather jacket and sunglasses, tell the boss “You codgers need to change your game!”, and be the flip-flop-wearing CEO by Friday. Games like Dynasty Warriors give us a world with the invincibility code turned on: now we are the badass warrior capable of killing 300 guys before learning what a flesh wound is.
We do — and this is a trite a thing as one can say — play games, sometimes, to escape the real world. People talk about that all the time. What I am proposing is that we play games precisely to avoid the parts of the world that tell us what to do, and when to do them, dangling “a more comfortable life” in front of our eyes all the while.
Though that’s not all: games also present us with things we can finish. Things we can see through to an intended end. And we want to see the end. And the makers want us to see the end. Hence their trying to help us.”
From Tim Rogers excellent article. I read it last year, and recently had reason to read it again. It requires a time investment to read it all, but it’s one I feel will pay back on itself many times over.

Tags: development, Quotes, Tim Rogers
Posted in On the Web, Quotes | No Comments »
Goodness, the Interwebs surely have exploded with this whole Flash vs. HTML5 debate. I don’t think I’ve read so much dis-information since “weapons of mass destruction”.
There is an excellent piece here (“I’d rather be a Woz“) all about it, which covers everything I feel, and strips away the sensationalist clap-trap coming from most quarters.
But if that post summed it up so brilliantly, why am I writing here? It’s simple really. It doesn’t matter how many brainless blog posts and comments are made about how “terrible” Flash is, or how HTML5 is the bringer of world peace and technological unity. None of that translates into the real world right now, today.
At work we are building some truly massive Flash based projects, in partnership with some of the largest broadcasters in the world (most projects of which I can’t even mention in passing, let alone link to). Sites that will be visited by tens of millions of people. Last week we released a new Shaun the Sheep game called “Home Sheep Home“. It has spread around the gaming portals like wild-fire, and is currently hitting 570,000+ plays per day. Since this time last week over 3 million people have enjoyed playing that one single game.
And you know what makes that possible? Flash Player does. Adobe does.
Would the same have happened if we’d made it in HTML5 and JavaScript? My arse would it. If we’d done that our support team would be pulling their hair out as millions of people across the world email to say “it doesn’t work in my browser!”. Maybe in 10 years time things will change. I for one surely hope so, as choice is a good thing – and goodness knows HTML4 needs a shot in the arm to wake it up from the 90s. But Adobe don’t sit still. Where will Flash be a decade down the line? Heck of a lot further on than where it is today, that’s for sure.
So you know what fellow Flash devs… stop reading the constant stream of HTML5 / Standards / iPad ramblings (to which I just added
), and get back to making and releasing great quality Flash games and sites. Because for every new release you put out there, you’re just strengthening what is already the largest platform in the world. Leave the zealots to their theory and hypothesis, because you and I are the front-line, and our creations are what makes the web a fun place to be.

Tags: arse, html5, shaun the sheep
Posted in Rants | 6 Comments »
A couple of guys on Twitter asked me if I would write-up how I generate PNG files from MovieClips in my SWF, at run-time. So I put this example together and am sharing it here.
We use this technique in our virtual world WebbliWorld to save a PNG version of the users avatars after they have customised them. But there are all kinds of other reasons you may need this. My example includes two methods: Saving the PNG locally using the local file system, and Saving the PNG to a web server using AMFPHP.
This technique requires Flash Player 10 and the Adobe AS3 Core Lib.
Here's a very simple example (included in the zip download below):
Essentially it all boils down to this:
1) When you are ready to save your image, create a Bitmap version of your MovieClip.
Actionscript:
-
private function getMovieClipAsBitmap():Bitmap
-
{
-
var bounds:Rectangle = theMovieClip.getBounds(theMovieClip);
-
-
// The * 2 is because we're scaling the clip up by a factor of two, to result in a larger PNG
-
// If you don't need this, remove it and comment out the m.scale call below
-
var theBitmap:Bitmap = new Bitmap(new BitmapData(bounds.width * 2, bounds.height * 2, true, 0x0));
-
-
var m:Matrix = new Matrix(1, 0, 0, 1, -bounds.x, -bounds.y);
-
-
// Simply scale the matrix to make a bigger PNG. Here we are doubling it. Comment this out if you don't need it.
-
m.scale(2, 2);
-
-
// Need to crop the PNG to a given size? Pass it a Rectangle as the 5th parameter to draw()
-
//var r:Rectangle = new Rectangle(0, 0, 50, 40);
-
-
theBitmap.bitmapData.draw(theMovieClip, m, null, null, null, true);
-
-
return theBitmap;
-
}
2) Convert this Bitmap to a ByteArray.
Actionscript:
-
private function getMovieClipAsByteArrayPNG():ByteArray
-
{
-
var data:Bitmap = getMovieClipAsBitmap();
-
-
var ba:ByteArray = PNGEncoder.encode(data.bitmapData);
-
-
return ba;
-
}
3) Send this ByteArray to either the local filesystem, or AMFPHP.
Actionscript:
-
// Uses FileReference to save the PNG locally to the hard drive (see "saveToServer" for an alternative)
-
private function saveLocalPNG(event:MouseEvent):void
-
{
-
var ba:ByteArray = getMovieClipAsByteArrayPNG();
-
-
file.save(ba, "BirdyNamNam.png");
-
}
Complete source code is included in the zip file including an AMFPHP PHP script for saving on a web server.
Hope someone finds this useful.
Download the Soure Code zip.

Tags: amfphp, example, png
Posted in Code, Tutorials | 3 Comments »
Blockparty is an annual demo party held in the US, and 2010's is about to hit in a few months time. As with all good demo parties there is usually an invitation demo to announce it, and to whet the appetite somewhat. This year EvoFlash created this little beauty, and of course it's AS3 to the core:

I've not been to a demo party since 1999, but boy does this make me wish I could be there. Nice one guys, nice one.
There are some lovely effects as you'd expect. Evoflash have been at this for years now, and obviously have a highly streamlined demo pipeline going on. With impressive pre and post render effects; gorgeous blooms, radial blurs, reflections and shadowing. And what's more - they have released it as open source, free for demo coding plebs like me to use!
Called evoTinyEngine it's a small framework that offers you three core elements: Assets, the main Engine and Modifiers. The Modifiers can be stacked up on-top of each other. The Engine handles the construction and destruction of all the Modifiers for you, and there are some really nice things ready to use. Everything is based on 16th note beats, which allows for tight syncing with the audio in your demo.
I haven't dug through the code much yet but I'd be willing to bet there are some insane routines in there, that would be well worth studying for game development as well as demos.
(Now let's see if this blog post kicks off a 20+ comment flame war about "is it really a demo?" yadda yadda ...

Tags: demo framework, demoscene, evoflash, evoTinyEngine
Posted in Code, Demo Effects | 6 Comments »
I rarely blog about Flash games I've played. Very rarely in fact. I don't really see the point, as there are a hundred other blogs out there willing to tell you their thoughts on what's "hot and new" in the gaming world. Often full of useless suggestions about how the game could be "improved". I'd rather you just play the games for yourself, use your own sense of judgement.
Then I come across a game like ImmorTall. And I feel it warrants 30 seconds of your life to play it, and a few minutes of mine to write about it. Because it's different. It dares to break a few conventions, to tell a story, to draw you into something you probably aren't used to. To make you think.
And I like that. I like that a lot. I like that Flash game developers have the balls to do this. To push boundaries, to redefine the very concept of "game". There are no rules but their own.

Then I read the comments from the knuckleheads on Armor. And I close my eyes, and a part of me inside breaks. Crushed by the realisation that there can be so many idiots on our tiny little planet.

Tags: aliens, beautiful, Games, ImmorTall, pixelante
Posted in New Releases, Reviews | 23 Comments »

After the blissful chaos of preparing for the Droplet 2 launch party, I finally had time to take stock and catch-up. The party was an absolute success. Both the game iLKe and I made, and the Twitter wall I coded for Gav went down a treat. The Twitter wall featured this awesome video that was projected, Bat symbol like, across Bristol's Park Street onto an adjacent building. People in the queue (and there were a lot of them!) could send their tweets to the wall and see them displayed in near real-time. Here's a video taken from someone there. And here's the actual SWF that was projected (give it time to download, there's a 3MB FLV streaming in)
Before I discuss the game - can I just say you MUST check out this montage picture of the incredible custom Droplets. They were all featured in the gallery, and the level of talent displayed in some of them is nothing short of breath-taking. There's a whole Flickr group dedicated to the Droplets.
The game was released onto the Droplet web site the day before the party. It was also mentioned on Twitter (lots!), Facebook (lots!) and best of all could be seen running on TVs in both the store and the gallery. The footage was from an earlier build, but it still looked great, and I got plenty of compliments
So what's happened since then? Well there were a couple of bugs in the game, as is to be expected with the last-minute rush we endured. Most notable of which was that the scores didn't reset when the game was completed! So people could work their way up the highscore board a little too easily
Thankfully Katie spotted this one and I promptly zapped it.
There was also a display issue with the background sky scroller, that absolutely no-one noticed except me - but it bugged me every time I played it. iLKe also tweaked the level layout quite a lot, refining a few areas and making others cleaner. He also saw fit to redraw my Pause screen a little. Damn pixel gurus
I also updated the Droplet page here on my web site, to include the missing Development details.
Anyway the new build is up on the Droplet micro site. And yes I wiped all the highscores to keep things "fair". Enjoy!

Tags: droplet, game, iLKe
Posted in Games, On the Web, Retro | 1 Comment »