Fun to the Z

Posted by Toumaz on March 06, 2009
Development, History

Whilst Seal Hunter thankfully is a 2D game, there’s still a Z property of certain game objects in order to give the illusion of depth in the scene, and since it’s pretty darn useful to have when it comes to particle effects. This was in itself entirely trivial to implement in 2D back in the day (just offset the y coordinate by the distance the object is above the ground etc etc) – but the difficulty of adding it to the game isn’t what this is about, it’s moreso a proof of how extremely messed up I am.

Urine Engine

Like how this was the first method of testing bullets that came to my mind. Yay! It’s a… Oh dear. I’ll happily leave any interpretations of the above to the reader – for better or worse. (And yeah, I know the reflections are closer to shadows in this screenshot. That particular issue was fixed not a long time afterward, soon as I actually realized how the real world works.) Having a peek at the screenshot below, you’ll see the results of increasing the blood amount an itsy bitsy bit and increasing the initial Z velocity of gibs; a frickin’ volcano of blood and meat after killing a single seal. Yeah, I was bored, but it sure looked spectacular.

Blood VolcanoBesides allowing for the implementation of bouncing weapons such as the grenade launcher and the thrown hand grenades, the possibility to do the jump-onto-crawling-seal-and-crush-the-hell-out-of-it move was added in as well, but this time with a rather major change. In my version of the game, jumping is entirely player controlled, which basically means the jump action is bound to a key just like moving around on the field is. This was mostly due to being too lazy to sync up the automatic jump animation across a network, but it also added a bit of a challenge to finishing off a crawling creature (I might be a terrible player, but I think it’s bloody hard to actually land a jump perfectly). For the curious, you aren’t able to fire your weapon while mid-air either; the reason for this being that weapons with bouncing bullets (again, the hand grenades and the grenade launcher) got way too powerful.

Bouncing MinesSpeaking of bouncing bullets, and to finish this God forsaken post off, there was a rather amusing bug early on related to those that lead to us playing around with it for about half an hour. And yes, that screenshot is very old. Basically, whenever a bullet bounced off of the ice, its Z velocity direction will be negated (so that it will bounce back up after going downwards) with a loss of speed as well. This was accidentally also applied to the X velocity (the horizontal speed and direction of the bullet), which lead to bullets that got ‘stuck’ after a few bounces, becoming stationary on the ice and not disappearing until an unlucky enemy walked straight into them. Oh gee, mines! Hilarity ensued, and that’s all there is to it, pretty much. Was fun while it lasted. ;)

9 Comments to Fun to the Z

Team Bobobo
Friday, March 6, 2009

Hi!
We are two swedish guys hwo just loves the game we just can`t stop playing it and we have so far cleared the game a couple of times. just keep on doing what your doing….when do this release come out?

you are awesome

Tomas Olander
Friday, March 6, 2009

Read the FAQ page. Right now, it’ll be released when it is done, which is all I can say for the moment being.

Peter B
Friday, March 6, 2009

Looking good!

Bra jobbat!

Jo-Ja-Ish Reku Lewis
Wednesday, March 11, 2009

Will we be able to play 2 people on one computer so you can play with a friend?
Or once you are online can you choose another computer to play with so you can play with your friends?

I’m Excited

Gifflo
Wednesday, March 11, 2009

This seems to be turning into something rather awesome.

Keep the good shit comming and the blog updated ;)!

xmRipper
Thursday, March 19, 2009

Woah blood volcano.

dnmr
Saturday, March 28, 2009

neato :D

BK_239
Friday, June 12, 2009

Are the blood going to disappear after x seconds? I can’t see the players and the enemies.

Tomas "Toumaz" Olander
Friday, June 12, 2009

You’ll never ever end up with an ice as bloody as that, anyway. I wager we had played about ten to fifteen minutes until we reached that state.

Leave a comment

Please keep all comments in English.
Be sure to have read the FAQ before asking questions, as well.