By Duane Alan Hahn (Random Terrain) using hints, tips, and code snippets from AtariAge members such as batari, SeaGtGruff, RevEng, Robert M, Atarius Maximus, and jrok.
About this program:
I might turn this into a real game and possibly call it Seaweed Patrol if I don't think of a better name.
You are part of an advanced underwater civilization. Everyone has a job and yours is to patrol your section of the ocean in a semi-organic submarine. Highly aggressive seaweed surrounds you and it keeps trying to replicate faster than you can shoot. Use your missiles to blast any bits of seaweed that appear before they clog up your sector and spread to others, making it nearly impossible for anyone to travel. Don't let the seaweed strangle your civilization to extinction.
Your ship will be damaged if you bump into the seaweed, so be careful.
If I turn this into a game, there will be an enemy or two and bonus items to collect. I'll also have to figure out if it's a non-stop game or if there will be rounds.
Hit the reset switch if you want to restart the program.
This is the first draft. I still need to add variable descriptions and probably a few more comments too. I'll do that later today or tonight. Remember, this is not a complete game. There is no title screen, no bonus items, no enemy sprite, and the difficulty doesn't increase yet (it's pretty much on the easiest setting).
Here's the .bin file to use with an emulator or a real Atari using the Harmony cartridge:
ex_shoot_missile_2010y_08m_27d_0251t.bin 4KB 184 downloads
Here's the .bas file if you want to look at the code:
ex_shoot_missile_2010y_08m_27d_0251t.bas 30.13KB 229 downloads
There are probably ways to crunch the code down that I don't know about yet. If anybody who is good at that can point out where I might be able to save hundreds or thousands of bytes, I would appreciate it. I don't want to put this on the bB page until it is as perfect as we can get it.
I'll add future drafts to this first post. If nothing unexpected happens, the second draft will be posted later today or tonight.
Update: I just had an idea. Since you can shoot more than one piece of seaweed with one missile, it might be possible to have the first hit be worth 10 points, the second hit 20, the third hit 40, the fourth hit 80, and so on. The player would be more likely to wait until a nice row is lined up before shooting and it would be kind of satisfying.
Edited by Random Terrain, Fri Aug 27, 2010 9:37 PM.