Ludum Dare 38 Entry – Hives

Right, the Ludum Dare website seems to be in a bit of a usability pickle for me so I’ve uploaded the source code and Gameboy ROM here just in-case things have gone wrong somewhere, also, Pictures!

Brief Overview of the game also:

In Hives you take on the role of a bee who has been tasked to defend 3 hives in this side scrolling shooter.

Defend you hives from predators including wasps, bees and spiders, intent on destroy your hives with every contact they make.

Take them down with your Atomic Stinger fast to prevent further damage and repair hives with your personal shield.

Run into an enemy? No worries, another drone will soon be dispatched.

Record your progress on the high score board and hey, if you’re too shattered after Ludum Dare to even play the game, wait 10 seconds on the title screen for a quick demo.

ld38-title-1

ld38-gameplay-2 HIVEShIGHsCORESld38-gameplay-1

How high is your highscore?

Right, I recently came into a little problem regarding storing highScores and comparing between them. It sounds stupid as most people would probably think. “Well, duhhhh use greater than or less than”

Which is fine. but with the gameboy being 8 Bit, I’m storing my scores as arrays as scores up to 255 would be rather boring….

So, for example 9,001 would fit into an array of 4 lots of UINT8, for an easier time displaying things to the screen, without extra computation.

E.g.

In a game I’m making currently, scores can extend beyond the limits of a 16 bit integer also, so we’re using slighlty longer arrays to store things in, no biggie.

But. I’ve found a handy solution to my problem, along the lines of the following:

What the code above does is compare the arrays on an integer by integer basis and set another variable with the result, reliably!

I hope this helps someone out there who has a similar issue regarding setting up high-score boards on the gameboy as this seems to be a safe an fairly quick method.

I may well be missing another way that’s quicker all-around but this seems to work for me anyway πŸ™‚

Expect a new game posted around the end of this month πŸ™‚

 

Cartridges! Coming Soon-ishly!

Yes! I’ve finally found some lovely people from 8-bit Evolution to team up with who publish retro games! They’ve taken a liking to a few of my games in-progress so far and now they really need to be brought home over the finish line.

This is one of those geeky dreams of mine that I had since being on the playground in the 90’s, to have a game of mine on a Nintendo console, on an actual cartridge, complete with box and instruction booklet, the whole shebang!

So, I really need to tighten up some code on Formula Racing to make it as optimal as I can (again) in GBDK, get the password system in-place, sort out that difficulty curve, add some endings, some sorta music and that game will be done and ready for perusal. Also, I need to make some awesome box art like I made for They Are Everywhere πŸ˜‰

gameboypaknmgb-fixed

It’ll be one of my game developer “awesome things to accomplish” things marked off the list and I never was sure which way to achieve it so I’m very grateful for 8-bit Evolution to reach out to me on this one.

And there I was considering some Sega Master System development instead. Well, maybe again in the future eh πŸ˜‰