© Lee Stemkoski 2018
Lee StemkoskiJava Game Development with LibGDXhttps://doi.org/10.1007/978-1-4842-3324-5_7

7. Side-Scrolling Games

Lee Stemkoski1 
(1)
DEPT OF MATH & CS, ADELPHI UNIVERSITY DEPT OF MATH & CS, Garden City, New York, USA
 
In this chapter, you will create a side-scrolling action game called Plane Dodger , shown in Figure 7-1, inspired by modern smartphone games such as Flappy Bird and Jetpack Joyride. Along the way, you will create an endless scrolling background effect, simulate gravity using acceleration settings, and implement a difficulty ramp that increases the challenge difficulty as time passes.
../images/352797_2_En_7_Chapter/352797_2_En_7_Fig1_HTML.jpg
Figure 7-1.

The Plane Dodger game ...

Get Java Game Development with LibGDX: From Beginner to Professional 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.