I wanted to see if I could fake a random maze and I pretty much got the job done. The hardest part was adding a sprite that you could move around the 'maze' and adding a ghost that will move around by itself.
I fixed it so that you can only see the ghost if you are facing him. If there is a wall between you, you will not see him. I'll probably use that in a better game in the future because it works great.
If I turn this into a real game, I don't know if you will shoot or not, so for now, the fire button speeds you up. And for the heck of it, holding down the fire button also lets you see a faint image of the ghost. I don't know if that's because of mental powers or a device, but either way, it lowers your health (the score). I don't know how to stop the score at zero, so it wraps around.
I included an object that you can get to increase your energy, but I don't know if I will keep it in. Having another sprite would be helpful so I could draw a shape for it.
Right now there is only one sound effect. I don't understand how to use sounds yet without slowing down the game or using a million variables, so that will have to wait.
Please let me know if you have any ideas on how to improve the 'maze' or how to crunch the code and so on.
Note: You can hit the reset button for a new 'maze.'
Newest version here:
Edited by Random Terrain, Fri Sep 12, 2008 5:07 PM.