Gaming Your Way

May contain nuts.


As you can see, my imagination for snappy post titles has long gone.

Ok, we're two weeks into DN8:Pulse, what's new ?

Well we've got baddies in there now. They follow patterns and detect the player bullets. In terms of the sprites themselves, I use the same code as in DN8 to generate them, creating 30 random ones every level. These are stored in one bitmap and then converted to a texture which we can then use to batch all the baddies.

As you can see we've got paths in there too. These are again batched sprites just plotted on the curve which we use for the baddies movement. You'll notice they're strangely thicker in places, that's because they pulse to the music ( Yeah, the name makes more sense now doesn't it ).

The baddies move and blow up when shot, the explosions are also connected to the music, and the paths are drawn. That's about it really. Last night I reduced the stage size from 854x480 to 700x480. Not for performance reasons, but to make it more portal friendly.

Also a couple of days were spent playing with Air 3.2. It's mentally impressive ( Even more so when I remember back to struggling with the very first beta Air for iPhone ). The paths affect the performance, but when they're not displayed it's a rock solid 35fps, and that's on my Desire S. It's feeling good that this is going to make it to the Android market.

And I think that's about all. Not the same huge steps that happened in week 1, but that's to be expected. It feels like it's going to be really good and that is more than enough to make me happy. If it turns out to be really good, well we'll have to see.



You've got to do a blog post on leap day haven't you.

Work started on new game a week ago, and somehow I've managed to get a fair bit done. Want to find out what ? Sure you do, because if I ever found out you weren't interested in our games I'd start hurting myself.

Let's start with a screen grab, it's easier to talk around that.

It's a little cut off as it's a big ol' screen, it's not that wonky in real life.

So as you can see it's a sequel to DN8. In saying that, it's going to be more of a 1.5 than a full blown sequel, a directors cut where we give it a visual overhaul and fix all the things which needed fixing.

The major thing with this bad boy is that we're going the stage3D route. And just to complicate matters, its using 2 engines. The background ( So the skybox you see, the planet with nice bump mapping and specular lighting ) is powered by away3D. It's really great to use, I've only ever used the lite version before so it's not as if I knew what I was doing, but I managed to get one planet and the skybox up and running in a couple of hours.

The downside to away3D is that its 2D support is limited, and for particles the general consensus is to use something like Flint. Now Flint produces great results, but packages like that are all singing and all dancing, which means an overhead which you can't really afford in a game ( It's like say Tweenlite, knock the shit out of that on the title screen, but in-game it's a little too costly ). I've being eyeing up ND2D for a while as it seems the best of the 2D GPU powered engines ( Friends who have tried Starling say its a little bit bloated as it's trying to be very transparent and displaylist like. Just to point out, I'm not slagging it or Flint off, I'm just going on hearsay as I'm far too lazy to do lots of tests to find things out ).

Now, how to add ND2D running on top of away3D ? Well I noticed you can have multiple stage3D indexes, I'll drop away3D at [0], ND2D at [1], set the transparency and swallow a little extra overhead as well, shit, we're on the GPU baby, everything is free and runs like liquid gold. Ah. the different stage3D "levels" don't have a transparency setting. Ah.

Plan B, download the away3D source ( I was just using the swc ), shove ND2D into the same package, find the render call in the away3D code and after that call the ND2D mainloop. Fairly simple. Hang on, it's displaying my simple particle test, but for some reason it's above the skybox, but below the planets. That's so close to working I had to pursue it, as if I could get it working we'd be laughing. A whole day of swearing and looking through both engines and I was having no joy. It was making me want to kill.

It takes a big man to admit when he's wrong. I'm far from being a big man, so I just posted on the ND2D forums asking for help. Lars is as good as gold and pointed me in the right direction, one changed line later and it works.

So in the first week we've got the look & feel nailed ( That was actually day 1, a whole day just to sort out a logo, a font and a rollOver style ), got a lovely looking background rotating around, most of the flow from title screen to actual game, the main player sprite moving and shooting ( The bullets using batched calls ), the music from DN8 as a placeholder playing a random mix each time and... I think that's it. I couldn't be more pleased with how its going, I don't have the first clue about 3D so to bluff my way through like this makes me happy.

Should we come back in a week to see if I'm still loving this ? Yes, lets.