User:Muntoo/Helicopter Game

Helicopter is a game for the NXT created by Muntoo. It is programmed in NXC, and was based on NXTLOG - helicopter 2.0 (video game) and Helicopter Flash Game. Scroll down to the download section to download this game.

Gameplay
There is a helicopter which players control using the NXT's Buttons (Left, Right, Enter). The point is to get as much score as possible before losing the game. Players lose the game if the helicopter collides with either the wall, the top of the screen, or the bottom of the screen, and have no lives left, and their invincibility meter reads 0.

One can gain extra points, lives, or temporary invicibility (adds 100 to invincibility meter) by catching an object.

Guide
Excerpt from "helicopter2.2-Guide.txt":

This is a guide to: "helicopter2.2.nxc" (Version: 2.2)

/* Program Name: "helicopter2.2.nxc" Version: 2.2
 * This program was created by "muntoo" on May 16, 2009
 * Created using the NXC programming language from BricxCC
 * ( http://bricxcc.sourceforge.net/ )

You will need:

1. A NXT Brick //can be found at: lego.com

2. BricxCC (software / optional / free) //can be found at: bricxcc.sourceforge.net

3. NXTExplorer (software / optional / free) //can be found at: bricxcc.sourceforge.net

I recommend that you get #2 and #3

Installation of the game:

1. Open up a program that enables you to download the files to the brick (You will need: #5 or #6 or some other software)

2. Upload the .rso files to the NXT Brick

3. Upload the .ric files to the NXT Brick

4. Upload the .rxe file (OR Compile and download helicopter2.2.nxc) to the NXT Brick

Game Instructions:

1. Run the program.

2. You will see a screen that says "Highscore:" and some other stuff. Just the "Enter" button on your NXT Brick to continue.

3. You will see a screen that says "Helicopter Game" and some other stuff. Just press the "Enter" button on your NXT Brick to continue.

4. There will be something on the bottom of the screen that says "Cheat Mode:" and "Disabled" or "Enabled" below it. Press the Left/Right buttons on your NXT Brick to Enable or Disable Cheat Mode. Press the Enter button on your NXT Brick to continue.

5. There will be something on the bottom of the screen that says "Lives:" and a number below it. Press the Left/Right buttons on your NXT Brick to change the number. Press the Enter button on your NXT Brick to continue.

6. There will be something on the bottom of the screen that says "Walls:" and a number below it. Press the Left/Right buttons on your NXT Brick to change the number. Press the Enter button on your NXT Brick to continue.

7. There will be something on the bottom of the screen that says "Sound Volume:" and a number below it. Press the Left/Right buttons to change the number. Press the Enter button on your NXT Brick to continue.

GAME STARTS

8. You will see a "helicopter" which is basically a circle with two horizontal lines. You can control its height (y-axis) by pressing the "Enter" button on your NXT Brick. You can control its x-axis by pressing the "Left" and "Right" buttons on your NXT Brick. You will see something that is slowly moving left. That is a "Wall". No, in real life walls can't fly, but this one is super hi-tech, and super secret, so I'm not going into those details.

9. You will see an increasing number on the bottom-left side of the screen. That is your "score". The numbers that are right to the "score" are in reading order, your "lives left" and "invincibility mode time left". The "invinibility mode" means that your helicopter is invincible to anything that can cause it to lose a life.

10. Some time soon, you will see a rectangle with a letter, or even a picture (if you uploaded the .ric files to the NXT Brick), slowly moving left. This is the "bonus block". The "bonus block" can either increase your score, add a life, or make you invincible for 10 seconds (or add 10 seconds to your current invicibility mode time left).

11. The object of the game is to earn the most points before the game ends.

12. You lose a life when your "helicopter": a. Hits a wall. b. Hits the ground. [Unless Cheat Mode is enabled] c. Hits the floating line in the air (top of the screen). [Unless Cheat Mode is enabled]

13. The game ends when you lose all your lives.

14. You can also "pause" the game by pressing the Exit button on your NXT Brick [short press]. You will see a screen that says "Enter: End Game", "Left: End Program", "Right: ?", and "Exit: Resume Game...". Press the Enter button if your choice is to End the Game, and save your highscore (if you have one), and then press the Left button to confirm your choice; otherwise, press the Right button to cancel. Press the Left button if your choice is to End the Program immediately, and then press the Left button, again, to confirm your choice; otherwise, press the Right button to cancel. Press the Exit button [short press] again to resume the game.

15. When the game ends, the "helicopter" will explode. Just hold the Enter button, to skip the explosion. Although, even if you wait a trillion years, you will eventually have to hold the Enter button to continue. (saying that the NXT isn't off, it hasn't run out of batteries, it's not broken, you're still alive, etc.) So what I'm saying is, just press the Enter button on your NXT Brick.

16. Now, please refer to #2.

Troubleshooting:

1. Q: The game freezes.

A: There is currently no fix to that. It probably won't even happen, as far as I'm concerned. It was only happening in the beta testing of the game (there were some glitches/bugs, and room for improvement). It shouldn't happen, but if it does, and your extremely high score got destroyed, just bear through it. Maybe if you want to, and you can, you will make a "cheat" program... Not avalible, right now (although it wouldn't take very long to make one...)

Download
This file can be downloaded here.