Five programming skills,
why are they so bad in BP
Do you know 5 bad programming in bp?
They are Cast To, Event Tick, Bind Event, Delay and Get All Actors Of Class.
- Cast To
- Event Tick
- Delay
- Get All Actors of Class
- Bind Event
Delay
In this post, we are going to learn how the Delay BP can affect your game's performance and gamepaly flow.
Delay nodes essentially pause the execution of your blueprint for a set amount of time.
This can disrupt the natural flow of the game and cause frame rate drops.
Delay nodes can cause inconsistencies between
players due to different frame rates and network latency.
So, This can lead to unfair gameplay or unintended behaviors.
In ohter words, Delay node is bad and you should never use is.
What we can use instead is custom events and timers.
Get All Actors of Class
In a simple words,
when the game starts, this node is going to go through all the actors in your leve.
Imagine you have 5000 or even more actors in your game.
it means that this node will go through all of these actors,
and it will definitely slow down your game and decrease frame rates or possibly crash.
'UE5' 카테고리의 다른 글
Moving skill & heal/damage item (0) | 2024.06.10 |
---|---|
Five Skills You Must Avoid in Unreal Blueprints - Bind Event (0) | 2024.06.03 |
Four Skills You Must Avoid in Unreal Blueprints - Event Tick (0) | 2024.06.01 |
Five Skills You Must Avoid in Unreal Blueprints - Cast To (0) | 2024.05.31 |
서버연동 GameMode & GameState (0) | 2024.05.27 |