Category: Games

A Technical Discussion

So I was thinking yesterday, during a hot walk to the post office “How did Eugene Jarvis do the lasers in Defender?

I swear this is not a joke post. Such thoughts as this do occasionally work their way into my mind.

To see what I am talking about, here’s a video of the arcade version of Defender:

There are countless amazing things about the game Defender. The sound effects, the controls, the particle effects, the sublime design. All this in a game that is 28 years old.

Pay close attention to the lasers the ship puts out. See how they are not an unbroken line? See how they seem to start as a random stream of particles and then connect into a solid line. They are simultanenously chaotic and structured; solid and discrete. Could this be a representation of the wave and particle duality of light in video game form? Who knows… certainly not me… but I do know the laser graphics are mesmerising and one of the most memorable things about the game.

So I wondered to myself yesterday, in my memory, how did he do these very organic and colourful particle-y laser beams? How did he make each beam unique and therefore special?

I came up with what seems like a good technique. Start with an 1 dimensional array representing the laser. Pick some random positions (on the left side) and occupy them: these are the dots that begin the laser. Then do a pass through the array populating empty spots with a frequency depending on the occupancy of nearest and next-nearest neighbours. This gives a good representation of particles knitting together to form a beam. You could even fake the movement of the laser by making the array width the same as the screen width and base the start on the ship start position (ie. no sprite movement is needed). Using this technique you could even write to the screen memory directly and possibly avoid sprites.

I’d solved it! Randomized laser beams that look like those in Defender! Voila!

But…

Take a look at this video:

It’s a little tricky to see but if you inspect the lasers you will notice they all look… similar.

Can’t decide? This may be clearer:

Nothing special about those lasers. Just lines… but more importantly: all the same lines. (As an aside, that previous video deserves a blog post unto itself…)

So is it because the BBC Micro and the 2600 are craptastic computers that the coders couldn’t reproduce the majesty of Jarvis original lasers? Perhaps, and this is certainly an attractive thought.

But go take a look at the original video again. Look very closely.

Yes, the sad truth: all the lasers in Defender are identical. There is no magic coding at work there. Just a sprite.

Another childhood illusion dashed on the shores of truth 🙁

Speed Demon

What’s a speed run? A speed run is where you try to do something as fast as possible.

gj

I made a few attempts recording a speed run in Monster Hunter, specifically the killing of the easiest boss monster, Great Jaggi. Here’s the video (on youtube) of my best attempt:

Great Jaggi dies in under a minute.

I didn’t embed because the video is in HD and you want the best resolution! Especially so you can laugh at my mistakes! (For those not playing the game, the quest has a maximum duration of 50 minutes).

I could (and have) beaten this time, but I didn’t (and won’t) record better 🙂

UFO Failing

This is my most popular Youtube video:

Right now it has 15788 views, and yesterday I received an email from Youtube that the video is now eligible for advertising and payment. If I chose to create a special type of Google account, they would randomly place adverts before this particular video. Each advert viewed would earn me $$$, with the catch being they only pay out in $100 increments.

I didn’t get far enough to see exactly how much money would be earned per view, but I’m guessing it is in the tenths or even hundreds of a cent 🙂

Here’s some stats on the video itself, just because I love that Google provides them:
– 58% of viewers are female
– The two most popular demographics are 13-17 (36%) and 45-54 (23%)
– 60% of viewers find the video via Youtube’s “related videos” sidebar
– The three top countries by viewer (in order): Japan, Hong Kong, Singapore
– The three top countries by commenter (in order): USA (36%), Australia (19%), Chile (11%)
– The video spiked in popularity in January 2009, just over a year after it was added, but (inexplicably) is at its most popular right now
– The most common google search that leads to this video: “ufo catcher sydney”
– The most famous non-google referral: facebook.com (the video has been embedded in two, unknown-to-me, profiles)

I’m not signing up for Google sense, since I suspect the sun will burn out before the video receives enough views to pay out. But it’s nice to know people are watching.

It’s worth noting that the second in my ‘UFO Catcher Trilogy’ is earning views much faster than UFO Failing: