Free Course

2D Game Development with libGDX


亚马逊 Android 应用市场

Building Cross Platform Mobile Games



This course explores how to use LibGDX to build 2D games that run anywhere, from web browsers to mobile devices. We start with simple drawings, and then turn to simple animations, physics, and user input handling. Finally, we create a full game, called Icicles, where icicles rain down from the top of the screen, and the player must dodge them using the arrow keys or by tilting their phone.

大约 8 weeks

Rich Learning Content

Interactive Quizzes

Taught by Industry Pros

Self-Paced Learning

Student Support Community




2D Game Development with libGDX

合作企业 亚马逊 Android 应用市场


Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d


Peter Heinrich
Peter Heinrich


Jeremy Silver
Jeremy Silver



Lesson 1

Intro to Cross Platform Game Development

  • LibGDX allows you write a game and deploy it to Android and iOS devices, desktop computers and browsers.
  • Explore the functionality that the LibGDX game framework provides.
Lesson 2

Intro to LibGDX

  • Import and your first LibGDX project.
  • Run it on your computer and Android device.
  • Learn the basic structure of a LibGDX game.
Lesson 3


  • Use the LibGDX ShapeRenderer object to draw some simple shapes (and some not-so-simple fractals).
Lesson 4

Cameras and Viewports

  • Use a camera to focus the player's field of view on a portion of a larger game world.
  • Learn to use viewports to simplify camera management.
Lesson 5


  • Create simple animations and physics effects by updating the game world over time.
  • Learn to break up a complex game into separate screens.
Lesson 6

User Input

  • Handle key presses, touches, and accelerometer input.
Lesson 7

Growing Icicles

  • Create the core of Icicles, including player controls.
Lesson 8

Polishing Icicles

  • Add scoring, a head-up display, and a difficulty select screen.


This course assumes basic proficiency with Java, including working with collections, implementing interfaces, and extending abstract classes. It is also assumed that you can read and understand documentation and source code.

Proficiency with Git and Android Studio is helpful, but not required.

To brush up on these skills, consider taking Intro to Java Programming, and How to Install Android Studio.



You already know that making and playing games is the most fun you can have with a computer, but if you need more convincing, you should know that over the last decade, mobile gaming has grown into a huge market. It's full of opportunities for independent game developers, or for people looking to join established gaming studios.

If you want the skills to turn your game ideas into reality, or get ready to jump into professional game development, this is the course for you.

Instructor videos Learn by doing exercises Taught by industry professionals