November 2011
Beginner
196 pages
5h 3m
English
Because you’ve already done so much work in previous chapters, you don’t need to change many things to build your first real game. The only files from the previous chapter that you must change for your one-character game are SpriteObject.java and GameView.java:
- Open a new Eclipse project, and name it AllTogether.
- Copy all the files from the SoundTest project in Chapter 4. Don’t forget to copy both the Java source files in the
srcfolder and the resource files in therscfolder.
Before you start making changes, let’s go over the procedure for handling motion and collisions.
You begin by upgrading your sprites so you can more finely control their motion and detect collisions between them ...
Read now
Unlock full access