CHAPTER 6

image

Additional Game Case Studies

This chapter introduces a series of games and focuses on how to implement a variety of game mechanics. Each of the examples is playable, but certainly not a polished product—for example, none has a Start menu or a user interface, and we won’t implement win or lose conditions (these are left for the you to implement as recommended “Next Steps” at the end of each section). Nonetheless, the techniques covered should prove to be useful for many situations.

For each of the new games that is presented, you should begin by creating a new project in BlueJ. In each project, you should copy over the classes BaseGame ...

Get Beginning Java Game Development with LibGDX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.