|z||Fire a shot. You will only be able to fire one shot at a time, so be careful.|
|,||Move left. Pressing this key will start you moving to the left, releasing it will make you stop.|
|.||Move right. Pressing this key will start you moving to the right, releasing it will make you stop.|
|p||Pause or Play. Pressing this will either pause the game, or play it. Remember, you must press it to start the game (either at the very beginning, or between new games).|
Quit the game. Do this and you will end the game. No ifs, ands or buts
The mouse controls are active, and rather obvious:
|Left||Move left, as above|
|Middle||Fire, as above|
Move right. ditto.
The lowest monsters are worth 10 points, the next are worth 20, and the highest are worth 30. Space ships are worth anything from 50-300 points (in 50 point increments, of course).
As with all standard X applications, xinvaders may be customized through entries in the resource manager. This game also works on monochrome screens, but the colors dont mean anything (surprise!).
Heres an example of some of the resources you can set (this would be in your .Xdefaults file):
Scale A switch that allows for multiple resolutions. 1 for normal resolution, 2 for 2x zoom (the default). BaseColor The color for the Base (you). Default is white. BuildingColor The color for the buildings that shield you. Default is yellow. Vader1Color The color for the highest invaders. Default is blue. Vader2Color The color for the middle invaders. Default is orange. Vader3Color The color for the lowest invaders. Default is red. SpacerColor The color for the Space Ship. Default is gray. ShotColor The color for your shots. Default is green. VshotColor The color for their shots. Default is pink. ScoreColor The color for the score. Default is cyan.
There are lots of resources. You can change all the timings involved. Have fun with it.
Although you can resize the gamewindow, I dont recommend it.
The buildings arent as good as the arcade, but hey, whatdayawant for free? It also doesnt handle auto-repeat very well, so you should probably turn it off.
This is mine. Im only letting you use it. Period. Feel free to rip off any of the code you see fit, but have the courtesy to give me credit. Otherwise great hairy beasties will rip your eyes out and eat your flesh when you least expect it.
Id like to give a lot of credit to Terry Weissman for his roids games. It gave me the guidance on how to do something like this.
|-->||XINVADERS (2.1)||Wed May 8 1991|