Skip to content

2D Game Development with libGDX

Free Course

Building Cross Platform Mobile Games

Related Nanodegree Program

Android Kotlin Developer

In collaboration with
  • Amazon Appstore for Android

About this course

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.

What you will learn

  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.
  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.
  3. Drawing
    • Use the LibGDX ShapeRenderer object to draw some simple shapes (and some not-so-simple fractals).
  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.
  5. Movement
    • Create simple animations and physics effects by updating the game world over time.
    • Learn to break up a complex game into separate screens.
  6. User Input
    • Handle key presses, touches, and accelerometer input.
  7. Growing Icicles
    • Create the core of Icicles, including player controls.
  8. Polishing Icicles
    • Add scoring, a head-up display, and a difficulty select screen.

Prerequisites and requirements

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 Java Programming Basics, and How to Install Android Studio.

See the Technology Requirements for using Udacity.

Why take this course?

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.

Learn with the best.

  • Peter Heinrich
    Peter Heinrich

    Instructor

  • Jeremy Silver
    Jeremy Silver

    Instructor