This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Saldor010's profile picture

Missile Canyon

Started by Saldor010, 22 February 2016 - 10:41 PM
Saldor010 #1
Posted 22 February 2016 - 11:41 PM
Hey there!
Message from future me, if you enjoy this game (or even if you don't), you should check out my latest game! It's way better than this one, I'm sure you'd love it ;)/>
Click the link here to check it out!
Back to your original post already in progress..

UPDATE: Bonus Boxes, GUI improvement and cleaner termination!
​UPDATE 2: Missiles now leave fiery trails as they fly across the screen, there's also a score counter!

A bit of a proof of concept I've been working on. Nothing much to see right now, but it is kind of fun to play for a round or two. Use the left mouse button to fire a missile towards the enemy on the Y axis you're pointing at. Someone wins when they get 10 missiles across the enemy's side of the screen. For now, I have some walls in the middle of the screen to brighten the game up and make things a little more interesting, but they may or may not be in the final version. Occasionally, bonus boxes (green pixels with white dollar signs) will appear in the middle of the screen. If you hit a bonus box the AI will be unable to fire missiles for 3 seconds, and vice versa. For now, the AI will just ignore bonus boxes, but this will be changed in the next update.

Direct Link: b3Mwaz0q
In-Game Link: pastebin get b3Mwaz0q MissileCanyon

If you want to change the difficulty of the enemy AI, then run the game with an argument of 1, 2, or 3. 1 being the easiest, 3 being the hardest. If you don't run the game with an argument, then it'll start on difficulty level 2.

And of course, no pics, no clicks, so:
[attachment=2550:MissileCanyon4.PNG]
Edited on 05 June 2019 - 08:15 PM
Saldor010 #2
Posted 23 February 2016 - 09:25 PM
Updated, there are now bonus boxes to aim for during combat!
Bomb Bloke #3
Posted 24 February 2016 - 01:31 AM
Looks like the bonus boxes don't do anything, no matter who hits them?

A pair of score/life counters wouldn't be amiss.
Saldor010 #4
Posted 25 February 2016 - 07:36 PM
I've finally got the bonus boxes working again, I apparently did something to break them right before I uploaded the file to pastebin. I'll try and release another update here in a day or two, and by then I should have all of the bugs ironed out.
3d6 #5
Posted 27 February 2016 - 10:17 PM
Pretty nice. :)/> I'd suggest adding a way to see how many missiles have made it through on each side during the game
Saldor010 #6
Posted 21 April 2016 - 03:00 AM
Update! Fiery trails of destruction follow every missile! There's also a score counter in the top row to help you keep track of who's winning.