How to make a Platformer with LIbGDX

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

Thank you for signing up for this course! We hope you'll enjoy it, and we look forward to hearing your feedback in the discussion forums.

Need help getting started?



Level 2-1: Sprites and Animations

Learn to draw using predefined sprites, and combine sprites into animations and stretchable nine-patches. Finally, you'll learn to pack many sprites into a texture atlas that can be efficiently loaded by your game.

Level 2-2: The Player

Create GigaGal, and give her the ability to move and jump. You'll add separate sprites for facing left/right, standing, and jumping, and will add an animation for GigaGal's walk.

Level 2-3: The Platforms

Add the platforms to GigaGal, and allow GigaGal to jump on them and fall off again.

Level 2-4: The Camera

Set up the camera to follow GigaGal around the level.

Level 2-5: The Enemies

Add GigaGal's evil robot adversaries.

Level 2-6: The Bullets

Let GigaGal fight back with her arm cannon, and create awesome explosions when she scores a hit.

Level 2-7: Level Loading

With the gameplay complete, add the ability to load level data created in an external tool.

Level 2-8: Adding the HUD and onscreen controls

Add a score display, lives counter, and on screen controls for mobile players.


Thanks to Kagure Kabue and Megan Habersham Smith for shooting and editing the video! Thanks to James Williams, Louis Webb, and Ophir Silverman for their keen eyes reviewing scripts, code, and video. Thanks to Nathaly Machatius for worrying, so the rest of us don't have to. Thanks to the rest of the Android/Gamedev team for company on a lot of late nights. Special thanks to Farrin Abbott for designing GigaGal!