Book Image

Libgdx Cross-platform Game Development Cookbook

Book Image

Libgdx Cross-platform Game Development Cookbook

Overview of this book

Table of Contents (20 chapters)
Libgdx Cross-platform Game Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Games are interactive experiences that provide feedback to the player mainly through visual elements and audio cues. As a result, rendering becomes one of the most important pillars games are built upon. This chapter will take us on a journey through the basics of the Libgdx 2D graphics API.

You will learn how to efficiently render both static and animated sprites and handle the view with orthographic cameras. Moreover, we will present a series of solutions on how to deal with different screen sizes and resolutions, a very common problem when targeting tablets and phones.