For almost a week I've been working hard on this game. I wanted to see if I could use the new scrolling map method that Felippe told us about recently and turn it into a spaceship game. In this game you control your tiny red ship with the arrow keys or WASD keys and press the space bar to fire. The object is to get to the end of each cave level. There's 3 cave levels included here that I made using my graphics program Paint.Net. I'm no artist but I tried my best :). One trick you will probably need to do is shoot your laser through the mountains to hit some of the shooting cannons. You don't destroy rocks but the laser goes straight through anything and you can shoot it in the 4 directions you can move with. I hope you all enjoy this game, it's one of the biggest games I've ever made. I realize that most likely the lines of code could be reduced dramatically (it has around 1000 lines) but I don't know how to reduce the number of variables yet like many of you guys do. The player.x, player.y, camera.x, camera.y variables I got directly from Felippe's original code. Which was a trick in itself to figure out what used 800 x 600 and what used the 4000 x 600 level picture files when adding more graphics to it with the game. I still don't understand it completely but I figured it out enough to use. Enjoy the game and please leave comments, thanks. All the files are in the zip file in attachments as well as a picture I will add. Oh also, I'm sure you all will laugh at the look of the ship, but like I said I'm no artist and I think it goes good with the laser sound. lol Oh one more thing, I added a lot of comments in the code on how it's very easy to add more levels. I used a separate program I made to detect coordinates with the mouse on the picture files so I could plot and display each cannon and their cannonballs.
Edit: I forgot to mention that to Pause the game, press P. I just used the SLEEP command for that. So you can press any other key to turn Pause off.
Edit Again: The zip file is updated to now have 5 levels of caves and a new looking spaceship that B+ let me use. :)
Edit Again: This zip file has been updated again to fix a problem that slows down the game if you sit in one place for a long time.