US $19.97

How to Make Your First Platformer Game in Godot

——   Created by Christopher Navarre

Classic Platformer Design in a Free Game Engine for Beginners

Share this course:

5h 47m
Lesson time
Skill level

More about this course

An introductory course into game development in the Godot engine. In this course, you will learn through the example of setting up a 2D platformer, coded from scratch, and set up a working prototype that you can build from. We will create a working player controller with double jumping, wall jumping, and a bounce attack as well as two enemies that use waypoint movement and respond to area triggers. Learn how to setup projectiles as an extra way of having enemies attack your player character. For building levels out, we use the Godot tile-map system and auto-tiling for faster level building. We use gdscript as the coding language because it is very fast to test with and intuitive to write and understand similar to python. This course is meant for beginners but is code heavy as we will be writing everything ourselves. As we code, I take the time to explain every step so you can understand the logic behind making changes and not just the line of code character for character. For art assets, we prototype with Pixel Adventure 1 and 2. Links to these can be found with the first video in the course for you to use to follow along.

The course project

Finished Reference Project

Our class project is to create the framework for a working 2d platformer game. By watching and following along the course videos, you should be able to get there. At a minimum, try to do the following...

  • Setup your player movement script, animation tree, sprite, and animation player so that your player can move with input controls.
  • Add an enemy ~ in the course videos we make the angry pig as the basic example.
  • Build a level for your character and enemy to play on
  • Separate world tiles from player and enemy characters by using physics layers

From there, here are some extras you could add to bring a bit more life to the game

  • Add power-ups like a health restore using Area2Ds as mentioned throughout the course. These would need to check if a player enters the zone through the collision mask of the area2d.
  • Create your own custom enemy ~ in the pixel adventure pack, there are many animated characters you could use for this.
  • Create a hazard like a spike that deals damage to the player if the player collides with it or enters its damage zone.

You can find the same art assets used in the videos from here

Pixel Adventure 

OpenGameArt is a great site to find music or sound effects you might use for your game. Here are a couple links to music packs

37 Lessons

2 mins
free preview
8 mins
Setup Godot and Import Pixel Adventure Art
5 mins
Setup Project for Pixel Art (Window Size, Stretching)
free preview
4 mins
Making a Repeating Tiled Background
20 mins
Tilemaps and Tilesets for Level Building
8 mins
Setting Up Player Animations
free preview
17 mins
Player Input and Left Right Movement
13 mins
Gravity and Global Game Settings with Singletons
17 mins
Jumping, Movement, and State Machines
12 mins
Animation Tree and Switching Animations
5 mins
Jump & Fall Animations Setup in Animation Tree
free preview
7 mins
Signals and Player State Debugging Label
4 mins
Follow Camera
5 mins
Double Jumping State Code
free preview
7 mins
Setup Double Jump Oneshot in Animation Tree and Code
View more lessons +

About the instructor

Christopher Navarre

My philosophy in information technology and learning in general is that video learning is the best way to learn for yourself. I can provide the …

Read more
This course is included in Arbington Premium
$15/month gets you access to every course. Start your 14 day trial today. ☝️

Class benefits

  • Certificate of Completion
  • 30 day satisfaction guarantee
  • 24/7 streaming access
  • Project included
  • Direct teacher access
  • 5h 47m of on-demand video
  • 1 downloadable file
  • Have a coupon?
  • Checkout