Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Godot 4 by making 2 games
Rating: 4.0 out of 5(147 ratings)
1,335 students

Learn Godot 4 by making 2 games

Create your own 2D RPG & 2D Metroidvania from scratch using Godot Engine 4
Created byJMG Studios
Last updated 4/2023
English

What you'll learn

  • Learn to use Godot 4
  • Learn how to create a complete game prototype
  • Learn how to create a saving system
  • Learn how to create a sword attack
  • Learn how to create a state machine
  • Learn how to create a map

Course content

5 sections69 lectures12h 24m total length
  • Installing Godot and overview of the interface7:34

    Download Godot, set up a 2D project with the forward renderer, and explore the interface including scene, inspector, and file system while saving a main 2D scene.

  • Creating a simple camera4:02
  • Creating the player animations12:33

    Create the player in Godot 4 with a 2D body and collision shape. Add sprite sheet, set nearest filter, and define idle, walk, and jump animations.

  • Coding the player movement18:30

    Master Godot 4 to code player movement in a 2D game by building a dedicated script, handling input, velocity, animations, and sprite flipping.

  • Creating a tilemap and autotiling10:32

    Build a ground tile map in Godot 4 by creating a tile set and a terrain for auto tiling, and enable gravity with a physical layer collision.

  • Coding the jump mechanic5:57

    Learn how to implement a jump mechanic in Godot 4 by creating an input map with ui_jump, mapping space and a gamepad button, and applying velocity.y as the jump.

  • Calling the right animation through code8:02

    integrate jump and fall animations into the move function by using input to set vertical velocity and is_on_floor checks to play jump and fall animations.

  • Coding the double jump3:30
  • Coding the sword attack13:21
  • Creating a Finite State Machine to handle our states and animations9:27

    Implement a finite state machine in Godot 4 using an enum-based player state with move and swirled, driven by a match statement in _physics_process, and reset on animation finish.

  • Bug fix, creating an object to destroy with our sword, Signal, Area2D, Coroutine19:19

    Create a destroyable crate in Godot 4 using Area2D signals, collision layers, and an animation. Detect sword hits, play animations, await completion, and remove the crate when elf reaches zero.

  • Create the background and understanding the ordering of layer with Z index14:49

    Polish a Godot 4 game by composing a multi-layer background with Sprite 2D nodes and z-indexed elements, and align the camera and viewport for a 320x180 canvas.

  • Creating the enemy6:29

    Create the first enemy in Godot by adding a character body 2D, collision shape 2D, sprite 2D, and raycast 2D; set idle and dead animations with a seven-frame sprite sheet.

  • Coding the enemy movement11:45
  • Killing the enemy8:14

Requirements

  • This course is accessible to the beginner aswell as intermediate

Description

In this course you'll learn the basics of programming a 2D Metroidvania game similar to Hollow Knight or Celeste and a 2D RPG similar to Zelda A link to the past with lots of different mechanic like double jumping, using a sword to kill enemy and break elements, breaking platform and way much more.


I will cover in this course everything you need to know about creating a 2D game in the Godot Engine 4. This course cover all important aspects of creating a 2D game in Godot including:

  • Game mechanics like player movement, double jump, collectibles, wall slide, wall jump

  • Creating a health system inspired by Zelda with a system of heart

  • Enemy

  • Adding mechanic like a sword to slash the enemy or break crates

  • Scene structure and project organization

  • Sound effects & music

  • Creating a saving system in two different ways

  • Creating a map to display the position of your player

  • Learning how to use shader

This list is not exhaustive - please see the course outline for a glimpse into what you're about to learn soon.

I have made that course for beginner looking to understand the key concept of programming as well as for programmer coming from different engine (like Unity or GameMaker) that want to create a lots of different key mechanic of a game that are rarely covered in Godot 4.

What you’ll learn

  • 2D platformer mechanics - double jumping, collectables, enemies, sword

  • 2D RPG mechanics: system of doors to open with keys, enemy throwing projectile at us, patrolling enemy

  • Sounds effects, doors and switches to change levels

  • Godot Engine Concepts - leveraging a variety of nodes, structuring scenes, signals, and more

  • Creating map and a flexible saving system

Are there any course requirements or prerequisites?

  • Some programming knowledge are a plus, but you can start from scratch, GDscript (the langage used in Godot) is one of the easiest language for game development

Who this course is for:

  • Beginner

  • Intermediate programmers

  • Intermediate game developers

  • Beginner game developers with programming experience

  • Individuals who are looking to push their project over the edge by adding lots of fun game mechanics

Who this course is for:

  • This course is for everyone looking to learn how to use Godot 4 and create a fun little 2D game