Archive for the 'News' Category

It moves!

This is more of a tech demo than anything else. It’s something that’s in damn near every game they make nowadays, but i still haven’t seen in a 2D game, maybe because nearly no one makes those anymore.
I’ve made bloom. I’ve been wanting to make this ever since bitmap effects were introduced back in Flash player 8, but AS2 is far to slow to pull it of with performance to spare for an actual game.

The following is a bit actionscript focused, so if you just want the pretty pictures feel free to skip ahead.
The way it works is that it, instead of just adding the different sprites to the stage, i have a canvas (essentially a Bitmap) i draw them on. This canvas is then copied into a lower resolution bitmap. It could just aswell be the same size, but I’m running it at a half or a quarter of the original resolution for better performance. This copy is then transformed into a black and white image by lowering the saturation to zero, in this step i also crank up contrast way up to get nice big white fields. Then i apply a simple BlurFilter to get the fuzzy effect.
This is then drawn on top of the canvas with additive blending.

The effect works a lot better if you can do some pseudo (or actual) HDR, since what it does is that it takes the very brightest pixels and makes them glow. This is all fine and dandy, but having variable exposure really makes it pop.

As an added bonus a beta of the Flash Player 10 was released this week, this gives amongst other things, a nice speed boost for blitting. It also supports something called Pixel Bender, which basically is pixel shaders, they run on the graphics card and everything. This demo however, does not use them.

See the demo after the break.

In other news; I attended the Nordic Game Conference this week. The conference itself was so-so, in my opinion a bit too many lectures/panels. I realize that you need the wide appeal for a conference like this, but that can’t be at the expense of quality. It is still nice to have something like that almost on your own doorstep though.
The real highlight of this was however that I got to meet a bunch of indie people. I mostly hung out with Petri Purho of Kloonigames and Erik Svedäng that is making the very interesting looking Blueberry garden. We also did some beer drinking with thewreck and jeb of Oxeye games. Pure gold.

Continue reading ‘It moves!’

isotope3

So, this is yet another of those few and far between posts around here these days. But this time I’ve got something to show you. I bring you, the updated, super pimped-out, isotope3:

isotope3

The game/app/toy itself is on another domain, mostly to keep the url’s shorter for sending them to friends. I put this up last night and fed it to the stumbleupon-tubes and figured i’d write about it here today. Somehow I’ve managed to get 17k visitors on it already. Cool stuff.

Improvements over the old version include:

  • Massive epic speed improvement, more than 1000x faster
  • Customizable colors, both for isotope and background
  • Better, live pattern recognition (updates as you type)
  • You can now export settings, not just the pattern
  • And, as always, heated seats and cupholders

If you want to put this little thingie on your own little part of the interblags, here’s what you’ll need:

<object width="620" height="600" type="application/x-shockwave-flash" data="http://www.isotope3.net/isotope3.swf"> <param name="movie" value="http://www.isotope3.net/isotope3.swf" /> <img width="620" height="600" alt="no flash" src="" /> </object>

And oh, if you’ve missed it somehow, play with it here: isotope3

Finding the game.

Whale game development thumbnailThe way I make games is that first I make a prototype (this is prototyprally after all). Using that I try to find an amusing mechanic, something that makes you smile when you play with it. Normally this isn’t actually all that hard, especially when you’re doing something with physics as it tends to be reasonably emergent. With some fiddling you can find a few interesting mechanics without too much hassle.
The hard part is making it more than a toy.

This is where I’m at with this game now. It’s pretty fun as a toy, and it’s great fun to spawn in a hundred boats and just smash them, but it’s not quite a game yet. But it’ll get there.

My biggest problem right now is resisting the urge to add in even more complicated stuff, blooming and motion blur are two things I’m pretty confident I could put in there without completely killing performance. I’ve also had some problems with my constraint system (used for ropes and such) so that would need a slight rewrite too. But if I’m to complete this within the coming weeks I can’t do that stuff, I need to focus on the actual game.

And once the game’s done there’s menus, possibly high scores and that whole thing. And that takes alot of time, I learned that the hard way for Eater of Worlds, it was supposed to take five weeks, but the highscores and challenge system took two whole weeks on their own pushing the development time to seven weeks total.

Well. Enough with the whining. FlashDevelop, which I plugged in my last post is truly awesome. I hope to be able do a quick little tutorial for how to setup the whole thing for game development.