O'Reilly logo

LibGDX Cross-Platform Development Blueprints by Indraneel Potnis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Monty Hall Simulation

In this book, we are going to learn about developing games in LibGDX. LibGDX is a cross-platform Java game framework that can deploy games to desktops as well as mobile devices. We will learn the concepts and we will make four games along the way. With each game, we will learn more concepts. You need to have basic knowledge of Java and LibGDX.

We will cover the following topics in this chapter:

  • Setting up
  • Introduction to the game
  • Creating the initial screen
  • Taking inputs
  • Adding the game logic
  • Displaying text and implementing restart

Setting up

I'm going to briefly cover how to set up our projects in this section. So, let's get started.

Prerequisites

Let's see how to set up our project. We are going to work with Eclipse as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required