2D Game Development with libGDX (Udacity)

Offered by Udacity,
2D Game Development with libGDX (Udacity)

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.

Class Deals by MOOC List - Click here and see Udacity's Active Discounts, Deals, and Promo Codes.

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.

What You Will Learn

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
Drawing

  • 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
Movement

  • 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.

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.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Introduction to C# Programming and Unity (Coursera) Coursera
University of Colorado System

Introduction to C# Programming and Unity (Coursera)

This course is all about starting to learn how to develop video games using the C# programming language and the Unity game engine on Windows or Mac. Why use C# and Unity instead of some other language and game engine? Well, C# is a really good language for learning how to program and then programming professionally. Also, the Unity game engine is very popular with indie game developers; Unity games were downloaded 16,000,000,000 times in 2016! Finally, C# is one of the programming languages you can use in the Unity environment.

Aug 31st 2026
4 Weeks
Moving, Shooting, and Debugging in GameMaker (Coursera) Coursera
University of Colorado System

Moving, Shooting, and Debugging in GameMaker (Coursera)

This course is the second course in the specialization about learning how to develop video games using GameMaker on Windows or Mac. Why use GameMaker instead of using C# and Unity or C++ and Unreal*? Learning to develop games with GameMaker is much easier than learning to program in C# or C++ AND learning Unity or Unreal. If you just want to continue learning how to develop games in a more "gentle" way, this is a great starting point.

Aug 31st 2026
4 Weeks
Introduction to VR Programming, Design, and Unity (FutureLearn) FutureLearn
VR Voom

Introduction to VR Programming, Design, and Unity (FutureLearn)

Step into the world of VR game development, learn the basics of programming language, and even create your own 2D game. Learn how to design, program, and create your very own VR games. The gaming industry has grown exponentially, outperforming both movies and sports combined in 2020. And VR is the newest, exciting innovation taking the industry by storm.

Jun 27th 2022
5-12 Weeks
How To Start Your Career In Games Development (FutureLearn) FutureLearn
BGI

How To Start Your Career In Games Development (FutureLearn)

Learn how to start a career in video games development by hearing from video games development recruiters and recruits. Kickstart your career in video games development. Follow the journeys of four people who recently got their first job in video games. You’ll learn what game development roles involve, and learn more about the skills you need, hearing from industry experts about what they hope to see in a candidate’s application.

Apr 27th 2020
4 Weeks
Shooters and Game Engines in Level Design (edX) EdX
LaSalle College,LaSalleX

Shooters and Game Engines in Level Design (edX)

Shooter games have been and continue to be the dominant genre in video games. Learn about this important genre in game design. Do you want to learn more about game genres and subgenres? This course continues your exploration of level design by introducing you to an important genre: the shooter. The shooter genre is huge in the game world, containing a wide variety of subgenres with their own gameplay needs.

Self Paced
Self-Paced
Types of Games in Level Design (edX) EdX
LaSalle College,LaSalleX

Types of Games in Level Design (edX)

Explore the many types of video games and their level design considerations. There are many categories of video games, often classified by their characteristics or goals—not by the type of gameplay they contain. Are you curious to learn about the growing variety of genres and subgenres? Want to discover which game genres appeal to you? No matter what your interest, this course takes you through what you need to know about genres in the game world.

Self Paced
Self-Paced
How to Make a Platformer Using libGDX (Udacity) Udacity
Udacity

How to Make a Platformer Using libGDX (Udacity)

'2D Game Development with libGDX' explored the basics of the libGDX game framework, from simple drawing to user input. This course will use those skills to create a much more sophisticated platforming game called GigaGal. In creating GigaGal, you'll learn about sprite drawing, keeping track of complex game state, controlling interactions between game entities, and also how to load and manage level data.

Self Paced
Self-Paced
Parenting and More GameMaker Language Code (Coursera) Coursera
University of Colorado System

Parenting and More GameMaker Language Code (Coursera)

This course is the fourth course in the specialization about learning how to develop video games using GameMaker on Windows or Mac. Why use GameMaker instead of using C# and Unity or C++ and Unreal*? Learning to develop games with GameMaker is much easier than learning to program in C# or C++ AND learning Unity or Unreal. If you just want to continue learning how to develop games in a more "gentle" way, this is a great starting point.

Aug 31st 2026
4 Weeks
More C# Programming and Unity (Coursera) Coursera
University of Colorado System

More C# Programming and Unity (Coursera)

This course is the second course in the specialization about learning how to develop video games using the C# programming language and the Unity game engine on Windows or Mac. Why use C# and Unity instead of some other language and game engine? Well, C# is a really good language for learning how to program and then programming professionally. Also, the Unity game engine is very popular with indie game developers; Unity games were downloaded 16,000,000,000 times in 2016! Finally, C# is one of the programming languages you can use in the Unity environment.

Aug 31st 2026
4 Weeks