
In Godot 4, create a 3D world scene with a navigation region and navigation mesh, configure collision masks and physics layers, and set up input actions.
Create a Godot 4 rts-style camera by adding an artist control with a camera node, configuring transforms, and scripting movement using a move vector and mouse/viewport input.
Implement camera zoom in Godot 4 by adjusting the field of view via input events, and add an environment with a procedural sci-fi sky, glow, and volumetric fog.
Create a worker unit in Godot 4 by inheriting a stone unit, adjusting scale and materials (albedo and emission), importing animations, and configuring a navigation agent for RTS movement.
Build and connect an animation tree for a 3d RTS unit, creating idle, build, attack, and walk states, using immediate switches, auto-advance, and smooth transitions with 0.3 timing.
Implement a Godot 4 unit selection system with a team-colored selection ring, detect units under the mouse, and support single and multi-unit selection.
Master unit movement in Godot 4 for a 3d rts game. Select units, issue move commands on a surface, and use a navigation mesh to compute closest points and velocity.
Learn to implement group selection in Godot 4 by creating a unit selector, drawing a mouse-driven selection rectangle, detecting units inside the box, and applying a selection limit.
Implement group movement in a Godot 4 3D RTS by looping through selected units and issuing move commands to a target, then plan circle and rectangle positioning to prevent clumping.
Learn to position units in a circle around a target by computing circle points with radius and center, iterating units and updating each unit's position using angle steps.
Position units in a rectangle by building a function that uses line positions and positions arrays. Compute lines, loop through units, and adjust x and z coordinates to form lines.
Build a Godot 4 graphical user interface by creating a layered canvas, adding texture rectangles for the information bar, minimap, selection bar, and main unit image, and assign textures.
Display selected units on a Godot 4 GUI grid by creating an eight-column image button grid, updating textures per unit, and refreshing via a unit selected signal.
Structure a 3d rts scene by creating a main building with a mesh static body, collision layers for fog of war, and unit spawn and destination points, plus build area.
In this Godot 4 3d rts lecture, implement building scripts by defining a building type enum, setting unit spawn arrays and costs, and managing selection, visibility, health, and construction state.
Create melee units in godot 4 by building a base unit script, extending it for loyal and warrior variants, and configuring weapons, cost, and damage through bone attachments.
Create a unit building scene in Godot 4, configure main and unit buildings with costs and unit images, then bake the nav mesh and test selection.
Learn to implement a responsive unit selection UI in Godot 4 by creating a four-column grid, configuring textures, and dynamically updating buttons and images to spawn workers and warriors.
Create a minerals UI in Godot 4 with a top-anchored minerals box and label, and implement spend/add functions that update the display for unit costs.
Spawn up to four units from the main building and unit building using a spawning panel with a progress bar, unit image buttons, and cancel options.
Learn to send spawned units to a new target position by implementing a move to function that uses the closest navigation point as the destination.
Fix bugs in the Godot 4 3D rts: prevent moving units when a main building is selected, fix spawning across multiple buildings, and tune navigation parameters for smoother paths.
Add a selected boolean to building script and toggle it in the select function; reveal unit progress container when current created units are not zero and the building is selected.
Implement Godot 4 fix for 3D RTS: copy code from spawn repeat into spawn function, adjust to twin dot play, and call spawn repeat when created units >= 1.
Fix the 3d navigation edge by tuning pathfinding: set max distance to five meters and time horizon to one second, enable debug, and offset destinations to prevent crowding.
Create a 3D health bar for units in Godot 4 by building a health ball, texture, and sprite 3D element, then instantiate the health bar on units and buildings.
Learn to implement building mechanics in Godot 4 for a 3D RTS. Manage construction state, placement, health, and activation, while guiding units to build and assist.
Create a minerals scene in Godot 4, set minerals as static bodies with collision, duplicate mesh instances, and enable units to mine the mineral field and return minerals to base.
Create a region with a collision shape to separate units in Godot 4 3D RTS. Track units entering and exiting, then apply a central XZ force to push them apart.
Add a melee attack system for 3d RTS units in Godot 4 by creating an attack radius, wiring body enter/exit signals, and implementing enemy detection and attack behavior.
Develop a Godot 4 3D RTS enemy AI by building a new enemy unit, grouping enemies, and implementing a 0.2 second search to attack the closest foe.
Requirements
You should have a basic understanding of coding and object oriented programming
Description
In this course, you are going to create an RTS style game.
It's going to include subjects like unit/group movement, structure building, resource gathering, mini-map and fog of war. At the end of this course, you are going to be able to create your own unique RTS game using Godot 4
Game subjects:
Unit and group movement
Creating a building system
Spawning units
Resource gathering
Combat system
Mini Map
Fog of war
Godot 4 subjects:
The Tween system
New navigation system
Object oriented programming (inheritance, classes)
volumetric fog
callable class
Graphical user interface
Additional information:
You can download the project files in the link, though there is no requirement for that. You can use your own assets
for your game, the projects files are just there for being a placeholder throughout the course and are made by me.
So in case you want to use in any of the models, commercially or not, you can
Who this course is for
game developers with little experience in the Godot game engine
Note: beginners can still take this course, most of the stuff I go through in this course is explained but
you should still be ready to go through the documentation and learn the Godot built in functions work
and learn the basics of programming