|
NAMEXInvaders - Shoot-em-up them nasty little bugs.AUTHORJonny Goldman (jonathan@think.com)SYNOPSISxinvaders [-all_those_groovy_xtoolkit_switches]DESCRIPTIONxinvaders is an implementation of the old Atari Space Invaders game, on top of the X11 window system.PLAYING XINVADERSThe game will start with all the invaders drawn. Press 'p' to play, and you're off, or use the newly provided buttons.The controls are:
The mouse controls are active, and rather obvious:
SCORINGThe 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).CUSTOMIZING COLORSAs 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 don't mean anything (surprise!).
Here's an example of some of the resources you can set (this would be in your .Xdefaults file): Vaders*Font: 9x15 Vaders*Scale: 2 Vaders*defaultfore: black Vaders*defaultback: white Vaders*Vader1Color: blue Vaders*Vader2Color: green Vaders*Vader3Color: red Vaders*BaseColor: cyan Vaders*BuildingColor: yellow Vaders*SpacerColor: gray Vaders*ShotColor: lavender Vaders*VshotColor: orange Vaders*BaseWait: 10 Vaders*VaderWait: 300 Vaders*SpacerWait: 50 Vaders*ShotWait: 10 Vaders*VshotWait: 30 NOTESThere are lots of resources. You can change all the timings involved. Have fun with it.Although you can resize the gamewindow, I don't recommend it. BUGSThe buildings aren't as good as the arcade, but hey, whatdayawant for free? It also doesn't handle auto-repeat very well, so you should probably turn it off.COPYRIGHTThis is mine. I'm 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.CREDITSI'd 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.
Visit the GSP FreeBSD Man Page Interface. |