XaiJu
CodeLikeMe

CodeLikeMe

patreon


CodeLikeMe posts

Unreal Engine 5 RTS with C++ - Part 34 - On Begin Cursor Over Events with C++

This is the 34th part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. Today we are going to work on how to add begin cursor over and end cursor over events to our characters/pawns in C++. This is required to show overhead healthbars or any other details when we hover the cursor over these characters.

View Post

Unreal Engine 5 Rappel System Tutorial - Part 5 - Move To Sides On Rope

This is the 5th part of the rappel system in Unreal Engine 5 tutorial. In this system, we can place objects in the level that represent rappel points and player can attach a rope/rappel onto these points and climb up or rappel down along vertical walls. When rappel up, once player reach the top of a wall and if up/forward movement input is pressed, the character will climb up the wall and stand up. If player reach the bottom of the wall, or any time at the middle, player can release the rope ...

View Post

Unreal Engine 5 Rappel System Tutorial - Part 4 - Rappel Down and Exit from Bottom

This is the 4th part of the rappel system in Unreal Engine 5 tutorial. In this system, we can place objects in the level that represent rappel points and player can attach a rope/rappel onto these points and climb up or rappel down along vertical walls. When rappel up, once player reach the top of a wall and if up/forward movement input is pressed, the character will climb up the wall and stand up. If player reach the bottom of the wall, or any time at the middle, player can release the rope ...

View Post

Unreal Engine 5 Rappel System Tutorial - Part 3 - Climb Up On Rope and Exit From Top

This is the 3rd part of the rappel system in Unreal Engine 5 tutorial. In this system, we can place objects in the level that represent rappel points and player can attach a rope/rappel onto these points and climb up or rappel down along vertical walls. When rappel up, once player reach the top of a wall and if up/forward movement input is pressed, the character will climb up the wall and stand up. If player reach the bottom of the wall, or any time at the middle, player can release the rope ...

View Post

Unreal Engine 5 Rappel System Tutorial - Part 2 - Hang On Rope

This is the 2nd part of the rappel system in Unreal Engine 5 tutorial. In this system, we can place objects in the level that represent rappel points and player can attach a rope/rappel onto these points and climb up or rappel down along vertical walls. When rappel up, once player reach the top of a wall and if up/forward movement input is pressed, the character will climb up the wall and stand up. If player reach the bottom of the wall, or any time at the middle, player can release the rope ...

View Post

Unreal Engine 5 Rappel System Tutorial - Part 1

Today we are going to implement a rappel system in Unreal Engine 5. In this system, we can place objects in the level that represent rappel points and player can attach a rope/rappel onto these points and climb up or rappel down along vertical walls. When rappel up, once player reach the top of a wall and if up/forward movement input is pressed, the character will climb up the wall and stand up. If player reach the bottom of the wall, or any time at the middle, player can release the rope and...

View Post

Unreal Engine 5 RTS with C++ - Part 33 - Revert Resource Cost of Buildings When Building Cancelled

This is the 33rd part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. Today we are going to work on how to revert the cost of buildings when the construction is cancelled. Earlier we implemented a way to deduct resource requirements such as wood from the resource attributes set. But if the building placement was cancelled due to some reason, we would need to cancel the cost and add the resource cost back to total resource count. View Post

Unreal Engine 5 RTS with C++ - Part 32 - Building Construction Resource Requirements

This is the 32nd part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. Today we are going to work on how resources are spent to construct buildings. Each building will have an associated build cost and when player try to construct a new building, game will check if there is enough resources to build it. If yes, building will be allowed and the required amount of resources will be deducted from the total resource count. Game will ha...

View Post

Unreal Engine 5 RTS with C++ - Part 31 - Bind HUD Counters to Gameplay Attributes

This is the 3st part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. In this episode, we are going to work on how to bind resource counter widgets in the HUD with the actual gameplay attributes that reside on ability system component of the player state. As the gameplay attribute values changes, the change will reflect on the HUD using a gameplay message system based listener we setup in the HUD.

View Post

Unreal Engine Gameplay Message Subsystem - How To Use in C++


In this tutorial, I am going to show you how to use the gameplay messaging subsystem in C++. Gameplay messaging subsystem comes as a part of Lyra Project. In the previous part of this tutorial series (https://youtu.be/Qnxk6iiy7sU) I explained how to export the plugin from lyra and integrate into your own project and use it in your own projects. We tested it withing blueprints. Today, we will see how to broadcast a messa...

View Post

Unreal Engine Gameplay Message Subsystem - How To Use


In this tutorial, I am going to show you how to use the gameplay messaging subsystem that comes as a part of Lyra Project. Here I will show you how to export the plugin from lyra and integrate into your own project. Then you will be able to use it to broadcast and listen to gameplay messages. The significance of this system is, usually if we need to setup an event that other actors/classes can subscribe/bind, we will be using event delegates. But we would need a hard reference to the clas...

View Post

Unreal Engine 5 RTS with C++ - Part 29 - Player State with Ability System Component


This is the 29th part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. In this episode, We are going to create a player state and add an AbilitySystemComponent to the player state and integrate the ResourceAttributeSet we implemented yesterday to handle resource counters for Wood, Food, Stone and Gold.

View Post

Unreal Engine 5 RTS with C++ - Part 28 - Gameplay Attribute Set For Resource Counters

This is the 28th part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. In this episode, We are going to enable gameplay ability system on our project and create a gameplay attribute set that represents resource counters in our game. Here we have Wood, Food, Stone and Gold as resource types and there will be attributes in attribute set for each of these type. Later on, this attribute set will be used to implement resource collection...

View Post

Unreal Engine 5 Real Time Strategy Game with C++ - Part 27 - Building Details Panel

This is the 27th part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. In this episode, We are going to work on how to show building details on the HUD for the selected building. At the end, when we select a building, details such as the icon of the building and health/hitpoints of the building will appear in the details panel on the HUD. To facilitate this, we will have to refactor some of the systems we have worked on in our game...

View Post

Unreal Engine Dynamic Rain and Thunder System - Lightning Strike Dynamic Light

Today we are going to do another improvement into the dynamic rain and thunder system we worked on. Here we will add an instantaneous dynamic light to the lightning strike. As the lightning strike appears, an instant dynamic light will appear from the direction of lightning strike towards the player camera and this illuminate and reflect on reflective surfaces for a short period when the lightning appears. This will help us to improve the immersive quality of the dynamic rain system.

View Post

Unreal Engine Dynamic Rain and Thunder System - Density Controls for Rain Fog and Droplets

Today we are going to do another improvement into the dynamic rain and thunder system we worked on. Here, we will implement a way to dynamically increase the environment fog density as the rain starts to increase the thickness of raining atmosphere. This will reduce the distance visibility as in the rain. Also, we will add a way to dynamically increase or decrease the number of rain drops in the Niagara particle . This can be used to gradually start rain as a light rain and increase to a heav...

View Post

Unreal Engine 5 - Press And Hold Button to Activate

In this tutorial, I am going to show you how to create a press and hold to activate type button using unreal widget system (UMG). In this example, I am going to implement this in the skill activate system where player has to press and hold the activate button to activate the skill. As the player hold the button, progress will be shown in the button itself as a filling progress bar until it is activated. If player release the button before it get filled, fill progress will reset.

View Post

Unreal Engine 5 - GAS Skill Tree - Activate Skill Through Skill Detial Panel - Action RPG #179

This is the 179th episode of the new tutorial series on Action RPG game using Gameplay Ability System. We have implemented a skill detail panel to show details about the skill and it has two buttons to either cancel or activate the skill. Here we are going to connect the activate button to actual skill system to activate the skill represented in the details. The activation will be represented in the skill tree itself.

2025-05-08 07:39:51 +0000 UTC View Post

Unreal Engine Dynamic Rain and Thunder System - UE 5.5 Update

Here is the updated version of dynamic rain and thunder system I implemented as a part of codelikeme open world project a while ago. You can access thye fully updated open world project in above link. This update is focused on the dynamic rain and thunder system which updates the landscape wet look, environment lighting and cloud density and darkness at runtime to match the rainy weather and once the rain is cleared, the whole environment is back to normal.

2025-05-06 00:52:15 +0000 UTC View Post

How to Trigger UI Events Through Sequences/ Cinematics with in Unreal Engine

In the last episode of unreal architectural design viewer, we worked on how to get the ui elements to show up in render output of the cinematics. Today we are going to implement a way to trigger UI events through cinematics oe sequencer events.

View Post

How to Render Sequences/ Cinematics with UI in Unreal Engine

In this episode of unreal architectural design viewer, I am going to show you how to render the cinematic that we created through the take recorder with UI elements in the scene. In this scene, we have UI elements that shows building details that is rendered on HUD as widgets. By default, UI elements are not rendered into the render output. I will show you how to add that into movie render queue output.

View Post

Unreal Engine 5 - GAS Skill Tree - UMG OnPaint Line Drawing Z Order- Action RPG #178

This is the 178th episode of the new tutorial series on Action RPG game using Gameplay Ability System. In the skill tree widget we have created, we used OnPain function in widgets to draw lines that represent connections between skills and their dependent skills. When we show a separate window that shows details about the skill when we hover over a skill, the lines draw on top of the pop up window. The reason is,, by default these lines are drawn on top of other widget elements in the skill t...

View Post

Unreal Engine 5 - GAS Skill Tree - Skill Details Panel - Action RPG #176

This is the 176th episode of the new tutorial series on Action RPG game using Gameplay Ability System. Today we are going to implement a UI widget to show details of the selected skill. It will mainly contain an image that represent the skill, name, description and const of the skill. This will open up when the player select one of the skills in skill tree.

Project Files

View Post

Unreal Take Recorder - Interactive Player Camera Movement to a Cine Camera Sequence


In this episode of unreal architectural design viewer, I am going to show you how to record interactive camera movement of player's camera in runtime into a cinematic sequence cine camera movement. So we will be able to either replay or render as a video the exact camera movements player did in runtime using a cinematic sequence. Here we will be using unreal built in take recorder plugin.

View Post

Unreal Engine 5.5 Bicycle Riding System Update - Project + Free Playable Demo

Here is a demonstration of full body IK based bicycle riding system updated into unreal engine 5.5.

password=CLMBicy55

View Post

Unreal Engine 5 - GAS Skill Tree - Magic Skills - Action RPG #175

This is the 175th episode of the new tutorial series on Action RPG game using Gameplay Ability System. Today we are going to implement a magic skills category for the gameplay ability system based skill tree system we have worked on. As the first magic skill, we will add the area of impact magical attack.

Project Files

View Post

Unreal Engine 5 - Gameplay Ability System Save and Load Base Actor Attributes - Action RPG #174

This is the 174th episode of the new tutorial series on Action RPG game using Gameplay Ability System. Here we are going to implement a save and load system for base actor attributes (FGameplayAttribute) used along with gameplay ability system. As for base actor attributes, we currently use - Health - Stamina - Character level - XP points - Skill points But the system will be able to automatically detect all the FGameplayAttribute variables used on BaseActorAttributes and save and load them a...

View Post

Unreal Engine 5 - Skill Tree System - Evade and Dodge As a Skill - Action RPG #173

This is the 172nd episode of the new tutorial series on Action RPG game using Gameplay Ability System. Here we are going to add Evade and Dodge abilities as a skill to the skill tree. So player will be able to spend skill points and unlock Evade and Dodge skill to avoid getting hit by attacks in combat.

Project Files

View Post

Unreal Engine 5 - Skill Tree System - Heavy Attack As a Skill - Action RPG #171

This is the 172nd episode of the new tutorial series on Action RPG game using Gameplay Ability System. Here we are going to add parry skill to the skill tree. So the player can activate the parry skill and will be able to parry enemy sword attacks by timely blocking.

Project Files

View Post

Unreal Engine 5 - Skill Tree System Categories - Survival/Combat/Stealth - Action RPG #170

This is the 170th episode of the new tutorial series on Action RPG game using Gameplay Ability System. Here we are going to work on how to add multiple different categories into the skill tree system. So we will refactor the skill tree we implemented previously with a single tree to contain 3 trees for survival, combat and stealth skills.

Project Files

View Post