
Build a complete mining roguelite from scratch, featuring a fully animated player, smooth movement, mining mechanics, random level generation, an inventory, and a shop to upgrade gear between runs.
Implement four-directional movement in Godot 4 by wiring wasd through the input map, using get_vector, and organizing movement in a process_movement function, then test with f6.
Create a basic rock in Godot 4 for a mining roguelite, using a static body, atlas texture, and collision shapes within a level scene.
Create ore data resources linked to rocks, defining name, texture, and value; build stone and iron ores, then assign them to rock resources so breaking rocks drops ore.
Add a mining mechanic in Godot 4 by implementing a swing pickaxe animation on a 2D animated sprite, triggered by the space bar, using is_mining and animation finished to reset.
Learn to implement a mining hitbox using an area 2D and a collision shape to detect when the pickaxe overlaps rocks, updating and rotating the hitbox for all directions.
Detect rock collisions with an Area2D body entered signal, identify rocks by class name, accumulate overlapping rocks, and pick the closest rock when mining by toggling the hitbox.
Build a mining system in Godot 4 where rocks have health, take damage from a customizable pickaxe, destroy at zero health, and mine continuously using a cooldown timer.
Create an ore system by dropping ore scenes from rocks and organizing ore containers. Enable player pickup with inventory integration.
Polish your mining roguelite in Godot 4 by animating ore spawns with a tween bounce and random offset; add a flash hit effect and audio feedback with safe cleanup.
Create the base level in Godot 4 using tile sets ground dark, ground deco, and wall cave with a tile map layer, terrain painting, and a player spawn marker.
Inherit a base map to create multiple levels and propagate changes across maps. Add a camera 2D that follows the player and set collision on tiles to stop off-map movement.
Explore procedural rock generation in godot 4 by auto-generating rocks on a level via a script, using tile map layers, custom data can_spawn_rocks, and random placement.
Expand the mine by adding five rock and ore types, configure textures, health, rarity, and depth, and implement a depth-aware, weighted rock generation system.
Create depth progression by spawning ladders when rocks break, ensuring a single ladder per level with a defined drop chance, and let players descend using climb down ladder input.
Implement depth-based progression in Godot 4 by clearing and regenerating maps, cycling through random layouts (map1–map3) with no repeats, and managing z-index for correct drawing order.
Create a main scene as the game root, build a heads-up display with a depth indicator using control nodes, anchors, and a depth change signal to update the HUD.
Build a Godot 4 inventory system for a mining roguelite: standalone ref counted slots and inventory, ore data tracking, and stackable items with a max stack size.
Build a modular inventory UI in Godot 4 by creating inventory slots, a grid container, and a heads-up display, with a tab key to toggle visibility.
Connect the in-memory inventory with the on-screen UI in Godot 4 by dynamically generating inventory slots and using signals to update the display.
Create an exit ladder in a Godot 4 mining roguelite using an area2d with sprite and collision shape, reposition it on level load, and signal exit mines.
Create a full-screen summary interface that dynamically displays each ore collected, with image, quantity, value, and total value, plus actions to go back to mines or visit the shop.
Learn to count collected ores in a Godot 4 roguelite by passing the player's inventory to a summary UI, aggregating ore types into a dictionary with texture, value, and quantity.
Learn to refresh the summary display by clearing old rows and looping through aggregated ores to create new summary rows with texture, quantity, value, and total, updating the running gold.
Configure summary buttons in Godot 4 roguelite to emit signals, propagate through the heads-up display to reset runs, hide the ui, and properly reset depth, player direction, and hitbox.
Set up an oxygen system with maxOxygen, oxygen, and oxygen_use. Use an autostart OxygenTimer to deplete oxygen and update a HUD oxygen bar and label.
Implement the death sequence by playing a dying animation when oxygen depletes, awaiting its finish, then fading to black and displaying a death label while clearing inventory.
Develop a shop ui in Godot 4 by reusing summary ui components, adding upgrade buttons for pickaxe, oxygen, and inventory, and wiring gold display and mine return transitions.
Configure a dynamic in-game shop by building upgrade dictionaries for pickaxe, oxygen, and inventory, and create button scripts to display levels and upgrade costs.
Learn to implement shop upgrades in a Godot 4 roguelite: connect upgrade buttons via signals, pass upgrade IDs, and apply upgrades (pickaxe strength, oxygen, inventory) with the main script.
In this course, you will learn how to build a complete 2D mining roguelite game from scratch using Godot 4. Along the way, you’ll explore the fundamentals of Godot, including scenes, nodes, and GDScript, while learning how to structure a full project that is both modular and easy to expand.
We will start with the basics, such as player controls, mining mechanics, and combat, so you can create responsive and interactive gameplay. Then we’ll move on to building a procedural mine generation system, allowing players to explore deeper levels with different rock types and rarer ores that are progressively more challenging to mine.
You’ll also learn how to implement an inventory system, collect resources, and design a shop where players can sell ores and buy upgrades such as better pickaxes, oxygen tanks, and larger inventory. By combining these systems, you’ll create meaningful gameplay loops that make your roguelite fun and replayable.
The course will guide you step-by-step through building each system, explaining every concept in detail. You’ll also learn how to organize your project properly, use Godot’s features efficiently, and write clean, maintainable GDScript code.
By the end of the course, you will have a fully playable mining roguelite and the skills to create your own 2D games with confidence. Whether you’re new to Godot or want to strengthen your existing skills, this course will give you the tools to bring your game ideas to life.