filmov
tv
Unreal Engine 4 Tutorial: Level Transition (Load Next Level)#unrealtutorial #unrealengine #unreal
Показать описание
Get your character from one level to the next with a box collision.
This video is the basic and quick way to transition.
In this video we use a box collision to trigger the next level.
Keep in mind if you have a lot to load it can look weird while loading so you can also add a loading screen.
Here's how with a quick additional step.
A better way to transition is to create a loading screen widget (a widget with an image that covers the full screen that you want while the game loads.)
Once you create your loading screen widget add the following to the code you just learned in this video:
Open level from collision (like in this video):
-Overlap Node
- Cast to Character
- Create Widget (select your loading screen widget
- Add to viewport
- Delay (keep time at .2)
- Open level by name (insert name of level).
or
Open level from button or how ever you are triggering your next level to load:
-Button press or event for next level
- Create Widget (select your loading screen widget
- Add to viewport
- Delay (keep time at .2)
- Open level by name (insert name of level).
This video is the basic and quick way to transition.
In this video we use a box collision to trigger the next level.
Keep in mind if you have a lot to load it can look weird while loading so you can also add a loading screen.
Here's how with a quick additional step.
A better way to transition is to create a loading screen widget (a widget with an image that covers the full screen that you want while the game loads.)
Once you create your loading screen widget add the following to the code you just learned in this video:
Open level from collision (like in this video):
-Overlap Node
- Cast to Character
- Create Widget (select your loading screen widget
- Add to viewport
- Delay (keep time at .2)
- Open level by name (insert name of level).
or
Open level from button or how ever you are triggering your next level to load:
-Button press or event for next level
- Create Widget (select your loading screen widget
- Add to viewport
- Delay (keep time at .2)
- Open level by name (insert name of level).
Комментарии