A sprite in a scrolling background
For a brief explanation of the source code, please visit Teach Yourself Java Programming in 21 GamesCompile and Run
You will need Scroller.java, Sprite.java, ShipSprite.java and space_shooter_pack.zip Place everything in the same folder and type:javac *.java java Scroller
You may download the file space_shooter_pack.zip at opengameart.org.
Alternatively, you may download an unmodified version of the zip file here.
The Java source file are listed below.
No comments:
Post a Comment