Unreal Engine Health And Damage System Tutorial | No Casting | No Binding

  Рет қаралды 5,082

Chankulovski

Chankulovski

Күн бұрын

Пікірлер: 60
@alexeinuville2555
@alexeinuville2555 26 күн бұрын
Thank god! This is the VERY FIRST TIME someone explains why casting is expensive, no other tutorial I've seen (even from official Epic Games instructors) explains this and how to bypass it!!! Instant subscribe
@chankulovski
@chankulovski 26 күн бұрын
@@alexeinuville2555 Thanks man! You would be surprised how many people are refusing to believe that Casting is bad for our games, just because they don't want to spend more time to optimize their code, they want it quick and easy with the Casting. Watch my Tutorial for Casting specifically, more in depth explanation there. Thanks for the sub!
@Azfaefa
@Azfaefa 7 ай бұрын
That's awesome, it's very difficult to find tutorial that show what they're doing and do it in a clean way ! Thank you ! Can't wait for the next video
@chankulovski
@chankulovski 7 ай бұрын
Hi, thanks for your supportive comment and interest ! That's why the video is long, you can't explain these important things in 9mins Tutorial, that's why there are so many complaints in my other videos. Stay tuned, other great videos are coming with things that are almost never said in here. Cheers
@yairmagnivow1361
@yairmagnivow1361 5 ай бұрын
thanks man for saying that i just learned cast i didint knew its bad for the memmory . i will learn your way
@chankulovski
@chankulovski 5 ай бұрын
@@yairmagnivow1361 Many people have learned Cast, but still they don't want to accept that Cast is bad for the game. I'm happy you have learned this way, and trust me, when you finish your game you will feel the difference ! :) I have a full Course on Udemy for Blueprints Optimization, check the link with a Coupon 33% OFF. Thanks and happy learning :)
@yairmagnivow1361
@yairmagnivow1361 5 ай бұрын
@@chankulovski btw how did you create the player hud set ?
@chankulovski
@chankulovski 5 ай бұрын
@@yairmagnivow1361 I've created a Widget Blueprint and in the Third Person Character, on the Event Begin Play I'm calling the Widget.
@yairmagnivow1361
@yairmagnivow1361 5 ай бұрын
@@chankulovski how you do it ?
@chankulovski
@chankulovski 5 ай бұрын
@@yairmagnivow1361 I will make a Tutorial for that soon.
@julesarmani7650
@julesarmani7650 5 ай бұрын
LEtsGetiTT!! Thank you for cost efficiency tut. Very rare yet very helpful 🙏🙏
@chankulovski
@chankulovski 5 ай бұрын
Thank you ! Doing my best to give back to the community :) More awesome Tuts are coming !
@norvsta
@norvsta 7 ай бұрын
I got lost at 7:50 where Player_HUD Variable has already been created in BP_ThirdPersonCharacter, and I can't work out how to do that...
@chankulovski
@chankulovski 7 ай бұрын
I've messaged you on Discord, will explain to you there with Screenshots
@billy-bg9rx
@billy-bg9rx 11 күн бұрын
I'm trying to get my character to cross over food to heal themselves and have the food disappear, but the food will still disappear even if the player's health is already at 100%. Any ideas how to stop this from happening?
@chankulovski
@chankulovski 11 күн бұрын
At the end of the code at the "Begin Overlap" event, right-click and type "Destroy Actor". This way, you will destroy the Actor when Overlap.
@norvsta
@norvsta 7 ай бұрын
Got it! All done! ty for a great tut :-)
@chankulovski
@chankulovski 7 ай бұрын
U welcome, more to come!
@Humbertogdev
@Humbertogdev 6 ай бұрын
Great tut!
@chankulovski
@chankulovski 6 ай бұрын
Thank you ! :) More awesome Tutorials are coming soon ✌️
@muratkara9482
@muratkara9482 Ай бұрын
Ty so much brother.. U r the King..
@chankulovski
@chankulovski Ай бұрын
@@muratkara9482 Thank you!
@starscream2092
@starscream2092 7 ай бұрын
Can you show the player fps without binding? I mean to show him in a different font and a custom place in the widget not the engine one. I think it is impossible to show fps without binding or event tick.
@chankulovski
@chankulovski 7 ай бұрын
I'm sure it's possible. Binding in Widgets and Event Tick are the same, so this is very bad for performance of your game, especially these two running at the same time.
@connorjade5460
@connorjade5460 7 ай бұрын
That was very insightful
@chankulovski
@chankulovski 7 ай бұрын
Thanks for your kind comment ! You see the length of the video? Almost 30mins ! If this was a video with Casting it would've been 10mins long. Check the Channel regularily, I will post many other things that are not being taught on KZbin or Udemy. Cheers!
@mswwill
@mswwill 7 ай бұрын
nice❤
@chankulovski
@chankulovski 7 ай бұрын
@@mswwill Thanks for your comment, I'm glad you like the Tutorial !
@connorjade5460
@connorjade5460 7 ай бұрын
@@chankulovski Hi can u make a G.A.S system in unreal engine with good practices?
@chankulovski
@chankulovski 7 ай бұрын
@@connorjade5460 Using Blueprint Interface, Custom Events, Timers, Event Dispatchers. Just Avoid using these Blueprints I'm mentioning. I have a GAS Blueprints ready on Marketplace, check my Channel links.
@kartikmarandi12
@kartikmarandi12 4 ай бұрын
Bro you saved me, i never thought of this way around thank u😊, but this will work on multiplayer?
@chankulovski
@chankulovski 4 ай бұрын
@@kartikmarandi12 Thanks, I'm happy it helped you :) For Multiplayer it will require a little bit of tweaking some stuff, but definitely this is the optimized approach.
@EMBakie
@EMBakie 6 ай бұрын
Great tutorial! Very clear and concise. So, If I'm looking to make multiple health bars for children of the BP_ThirdPersonCharacter, how would I be able to give "Set Percent" multiple targets? Do I have to turn the target into an array?
@chankulovski
@chankulovski 6 ай бұрын
Thanks ! You can go with Array, just make sure you don't put a lot of Arrays, since Array can also slow down performance. For example don't put 10 - 15 Arrays. I could say it's safe to go up to 10, but also it depends how fast you want the Progress to update the Percent.
@EMBakie
@EMBakie 6 ай бұрын
@@chankulovski Thanks a bunch, I'll remember to keep that in mind! It would probably be no more than 4 or 5 at a time. Also, when adding the max for the clamp, does it matter if it's set to 100 or should that also be a variable on it's own? Since some children may have a different max.
@EMBakie
@EMBakie 6 ай бұрын
oh wait, then that means I have to make sure each child has a variable for "Max health" huh? Instance editable 😵
@chankulovski
@chankulovski 6 ай бұрын
@@EMBakie If you want to make it even more modular, the best approach is to make a Blueprint Component, and all you have to do is to tweak the values there, without creating many arrays and additional programming. But that's Tutorial for another time.
@EMBakie
@EMBakie 6 ай бұрын
@chankulovski Okay, I'll see if I can figure it out. Thank you for the push in the right direction. The more modular I can get it his system the better. I'm trying to make it so the player can switch between a list of people.
@connorjade5460
@connorjade5460 7 ай бұрын
Hi. Can you please let me know how can I get a reference to my Character BP. I have several skeletal meshes in my Character BP. And I want to get their reference inside game instance blueprint. Earlier I simply casted the character BP and got the reference from it's target node. Please help....
@chankulovski
@chankulovski 7 ай бұрын
I will look into this and will try to see how this can be done
@mikitar95
@mikitar95 2 ай бұрын
Hahaha you showed us the easiest case ever with overlap ,but how do you want to make communicate between 2 diffrent BP? How do you want to use event dispatchers?
@chankulovski
@chankulovski 2 ай бұрын
What do you mean exactly by "Communicate between 2 different BP"? And this is not the easiest case ever. The easiest way ever is those crappy Tutorials that are teaching you Casting and killing your game's performance. More Tutorials are coming though :)
@Demienj
@Demienj 5 ай бұрын
תותח! פתרת לי בעיה ששעות מנסה לפתור . תודה
@chankulovski
@chankulovski 5 ай бұрын
I'm happy this helped you :)
@PerumNagajaya
@PerumNagajaya 6 ай бұрын
i wish more tutorials like this! best practices tutorials are rare..
@chankulovski
@chankulovski 6 ай бұрын
Thank you for your kind words and for recognizing a true rare and hard work ! More Tutorials and more Courses are coming, so keep an eye on the Channel or join our Discord Server. Thanks again !
@retrowrath9374
@retrowrath9374 5 ай бұрын
First person seems different, everyone seems to do third person.
@chankulovski
@chankulovski 5 ай бұрын
@@retrowrath9374 It's different yes. I will probably make Tutorial for Third Person as well :)
@retrowrath9374
@retrowrath9374 5 ай бұрын
@@chankulovski That would be great I'm struggling with it, go health to work at one point, now I just die in the pain causing volume and when I spawn I fall though the map by following different people's spawn, health, death videos. LOL
How to use Tags instead of Casting node | Unreal Engine 5 Tutorial
14:17
USE Gameplay Tags
10:38
The Game Dev Cave
Рет қаралды 56 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 301 М.
The Right Way to Spawn Objects in Unreal Engine | UE5
18:03
Ali Elzoheiry
Рет қаралды 37 М.
Unreal Engine Optimization: Hard and Soft References
6:00
Unreal Dystopia
Рет қаралды 8 М.
The Art of Game Optimization
10:18
Worlds In Motion
Рет қаралды 278 М.
This Is The Greatest Project Ever
11:46
Clydiie
Рет қаралды 302 М.
I solved Unreal Engine's Package Size Problem...
14:35
Cobra Code
Рет қаралды 86 М.
Unreal Engine 5 - Health and Damage 01 - Reusable Health Component
9:58
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,6 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН