DEPT OF MATH & CS, ADELPHI UNIVERSITY DEPT OF MATH & CS, Garden City, New York, USA
In this chapter, you will create an entirely new game: Space Rocks, shown in Figure 4-1 and inspired by the classic arcade game Asteroids. You will make extensive use of the framework you created in the previous chapter (the BaseGame, BaseScreen, and BaseActor classes) and add a few new features along the way. The most significant addition will be the ability to handle discrete events: actions that should occur only once each time a key is pressed.
Game Project: Space Rocks
When starting ...
Get Java Game Development with LibGDX: From Beginner to Professional now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.