libgdx-cookbook

This is the Libgdx book I wrote with my colleague Alberto Cejas. Note that the e-book version comes in multiple formats and it's DRM-free.

Overview

  • Gain an in-depth understanding of every Libgdx subsystem, including 2D graphics, input, audio, file extensions, and third-party libraries.
  • Write once and deploy to Windows, Linux, Mac, Android, iOS, and browsers.
  • Full of uniquely structured recipes that help you get the most out of Libgdx.

What you will learn from this book

  • Wield the power of the 2D graphics API: get to grips with textures, atlases, particles, fonts, and shaders.
  • Manage input from different devices, including touch, keyboard, mouse, gamepad, and accelerometer.
  • Increase player immersion with the Libgdx audio API.
  • Quickly design maps with an editor and load them directly into your game.
  • Exploit the 2D stage features to build great user interfaces.
  • Create amazing physics simulations with Box2D.
  • Discover the third-party ecosystem by exploring animation, lightning, entity systems, and many more.
  • Master the deployment process and reach a wide audience.

About Libgdx

Libgdx is an extremely popular open source, lightning fast, cross-platform, Java-based, game development framework. It allows developers to write their code once and deploy to Windows, Linux, Mac, Android, iOS, and browsers. Libgdx takes care of platform-specific details so you can focus on what really matters, making awesome games and reaching the widest audience possible. Publishing your game on various platforms is quite a task, and this is where this book will come in handy.