Sunday, September 02, 2007

Blood Money

So Ive been looking at the code to Blood Money whilst I've been writing this post-mortem, and its not quite the work of art I thought it was; which I guess is no surprise. I was only 19 at the time and I hope I've improved a lot since then! However one thing I did get totally wrong was the way the paths were created.

In XeO3 I have 10 paths, one for each baddie and another which acts as the master path. This is how I remembered I'd done Blood Money, but it turns out I was wrong. In Blood Money, I'd a special format for the master path, one that didn't look at all like the rest of the system.

db End_of_Screen
db 5|Sprite,$58,100,14|Sig,<path2,>path2,<Header2,>Header2
db 7|Sprite,$58,100,14|Sig,<path2,>path2,<Header2,>Header2
db 9|Sprite,$58,100,14|Sig,<path2,>path2,<Header2,>Header2
db 10|Sprite,$58,150,3|Sig,<path1,>path1,<Header2,>Header2
db 11|Sprite,$58,100,14|Sig,<path2,>path2,<Header2,>Header2
db 12|Sprite,$58,150,3|Sig,<path1,>path1,<Header2,>Header2
db 14|Sprite,$58,150,3|Sig,<path1,>path1,<Header2,>Header2
db 16|Sprite,$58,150,3|Sig,<path1,>path1,<Header2,>Header2
db 18|Gun,$27,17,Player2 | Gup
db 24|Gun,$27,1,player1 | Gdown
db 35|Sprite,$58,150,14|Sig,<path4,>path4,<Header4,>Header4
db 35|Sprite,$58+24,150,14|Sig,<path4,>path4,<Header5,>Header5
db 35|Sprite,$58,150+21,14|Sig,<path4,>path4,<Header6,>Header6
db 35|Sprite,$58+24,150+21,14|Sig,<path4,>path4,<Header7,>Header7

This is the 1st screen from Level 1(I think) on Blood Money, and its pretty ugly. The 1st byte is the character to start the sprite on followed by the X,Y, Path and object header. It was also able to spawn turrets and character sprites but still - it was pretty nasty.

In XeO3 I use the path engine as the master path, that way I can use loops and pause whenever I need to, and then use standard StartSprite commands. I did a couple of Shoot-em-ups for mobile phones, and I used the XeO3 way then, so I must have just gotten confused. Still I guess its good to know that I do still improve, even with the most basic of game.


Anonymous said...

Hi Mike!

You are very difficult to contact! I can't find your e-mail anywhere, so I hope you find my message here.

I'm just wondering what happened to the DMA Design message board? It has said "we are upgrading" for quite some time now! Is it ever coming back? I miss it.

Keep up the good work!


Anonymous said...

I'm easy to find! A google search will reveal several links to me! :)

Well, the board I was using was seriously open to spamers, and I was getting 10 or more new "spam" members a day, which I was getting really pissed off with having to delete. its not even as though they posted! It was just creating hundreds of new users each month.

At some point I hope to install a new board thats a little more secure.... but thats just when I can be bothered.