Saturday, February 28, 2015

Moving Objects and Sprite Manager - Part 9

This is part 9 of the series. You are suggested to read the whole series from the beginning. You may find the whole series in the Featured page.

A sprite in a scrolling background

For a brief explanation of the source code, please visit Teach Yourself Java Programming in 21 Games

Compile and Run

You will need,, and Place everything in the same folder and type:
javac *.java
java Scroller

You may download the file at
Alternatively, you may download an unmodified version of the zip file here.

The Java source file are listed below.

This is the same as the file in "Moving Objects and Sprite Manager Part 6".

No comments:

Post a Comment