HOME > Development > Create a procedurally generated 2D Roguelike in Godot 4

Create a procedurally generated 2D Roguelike in Godot 4

  • Development
  • Jan 26, 2025
SynopsisCreate a procedurally generated 2D Roguelike in Godot 4, avai...
Create a procedurally generated 2D Roguelike in Godot 4  No.1

Create a procedurally generated 2D Roguelike in Godot 4, available at $54.99, has an average rating of 4.35, with 32 lectures, based on 78 reviews, and has 734 subscribers.

You will learn about Learn the fundamentals of Godot 4 Learn how to create a procedural generation algorithm You will learn the fundamentals mechanics of a 2D Roguelike game You will build a prototype that you will be able to sale This course is ideal for individuals who are This course is targeted first for intermediate programmer but is accessible to beginner looking to learn more how works procedural generation It is particularly useful for This course is targeted first for intermediate programmer but is accessible to beginner looking to learn more how works procedural generation.

Enroll now: Create a procedurally generated 2D Roguelike in Godot 4

Summary

Title: Create a procedurally generated 2D Roguelike in Godot 4

Price: $54.99

Average Rating: 4.35

Number of Lectures: 32

Number of Published Lectures: 32

Number of Curriculum Items: 32

Number of Published Curriculum Objects: 32

Original Price: $19.99

Quality Status: approved

Status: Live

What You Will Learn

  • Learn the fundamentals of Godot 4
  • Learn how to create a procedural generation algorithm
  • You will learn the fundamentals mechanics of a 2D Roguelike game
  • You will build a prototype that you will be able to sale
  • Who Should Attend

  • This course is targeted first for intermediate programmer but is accessible to beginner looking to learn more how works procedural generation
  • Target Audiences

  • This course is targeted first for intermediate programmer but is accessible to beginner looking to learn more how works procedural generation
  • In this course you will learn how to create a procedurally generated 2D Roguelike similar to games like Nuclear Throne or Enter the gungeon. We will use an algorithmcalled random walker that we will use to create automatically new levels: everytime we will load our level a new one will be automatically generated, which open the gate for infinite levels. We will learn how to place our player, groups of enemies and exit inside it, as well as instancing ammunitions when our enemy dies. We will also create from scratch a player with typical roguelike movementand shooting mechanic like having the rotation of our player and his gun based on the position of the mouse, we will learn how to configure a mouse icon that is animated, how to create enemies that can patrol randomly and chase you once you’ve been detected, and way much more.

    Here is a list of the things we will learn together:

  • Generating procedurally a level that is autotiled with terrains and collisions shape

  • Rotating the gun and the player toward the mouse position

  • Instancing enemies inside the border of our generated level

  • Having our enemy chasing us

  • Being able to collect ammo by looting them inside our level

  • Having a countdown that restartthe levelwhen reaching zero

  • Creating shader to damage the player

  • Having screen shakewhen the bullet explode

  • Having a player life system

  • Having an exit portalthat we need to find to continue playing the game

  • I’ve been enjoying making this new course as I am fascinated by procedural generation, and I hope that this course will be the right entry gate for you if you want to go deeper into that segment of programming that is rarely taught in a way that is complete and accessible for beginner programmer.

    The asset will be provided with this course, so you just have to enroll and start coding.

    So thank you for reading this and considering buying this course, and I’ll see you in the first lecture!

    Course Curriculum

    Chapter 1: Creating the player and the shooting mechanic

    Lecture 1: Setting up godot, importing our sprites and creating the main level

    Lecture 2: Creating the player and its animations

    Lecture 3: Player movement

    Lecture 4: Creating the gun

    Lecture 5: Aiming the direction of the player to the mouse cursor

    Lecture 6: Creating the projectiles and coding the shooting mechanic

    Lecture 7: Animating the mouse cursor and changing it to a target icon

    Lecture 8: Setting up the death animation with state machine & hazards

    Lecture 9: Fixing the up and down animation of the player

    Lecture 10: Creating the GUI and displaying the amount of health and ammo

    Lecture 11: Running out of ammo

    Chapter 2: Procedural generation and creating enemy

    Lecture 1: Creating the tilemap & tileset

    Lecture 2: Coding the procedural generation algorithm

    Lecture 3: Generating our level using the walker

    Lecture 4: Setting the collision shape of our tilemap and collision layer

    Lecture 5: Setting up the Ysort of our level

    Lecture 6: Placing the player in our procedurally generated level

    Lecture 7: Creating and placing an exit + ysort of the mouse cursor

    Lecture 8: Creating a second tilemap for the floor + place randomly cosmetics tile

    Lecture 9: Creating the enemy animations

    Lecture 10: Coding the enemy movement

    Lecture 11: Importing enemies in the level and placing them randomly

    Lecture 12: Killing the enemies and instance an explosion scene

    Lecture 13: Adding the explosion to the bullet

    Lecture 14: Creating an ammo pickup and looting the ammo when enemies dies

    Lecture 15: Create a scent trail

    Lecture 16: Making our enemy chase the player through the scent trail

    Lecture 17: Shaders to get hurt and killing the player or the enemy

    Chapter 3: Screen shake, Countdown timer, Controls, Bug fixing

    Lecture 1: Creating a screen shake when a bullet explode

    Lecture 2: Creating a countdown timer that restart the level if it reaches zero

    Lecture 3: Controlling the mouse cursor with the right joystick of a game controller

    Lecture 4: Bug fixing

    Instructors

  • Create a procedurally generated 2D Roguelike in Godot 4  No.2
    Jean Vermeersch
    Game developer and 2D artist
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 4 votes
  • 3 stars: 13 votes
  • 4 stars: 18 votes
  • 5 stars: 45 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!