Good day. I'm trying to use plyGame. How can I use the loading Screen of plyGame to load the next scene/level?
The situation that I've got is that after I added 'LoadLevel' it directly load the level i wanted and with that, no loading screen is loaded.
using plyGame. How to load loading screen to proceed to another scene
-
- Posts: 57
- Joined: Sun Feb 12, 2017 2:11 pm
Re: using plyGame. How to load loading screen to proceed to another scene
Hi,
Before using the Flow > System > LoadLevel block, use the GUI > Screens > Show LoadScreen block.
(Also use the Dialogue System > Lua > Level Will Be Unloaded block to tell the current scene that it's about to be unloaded & destroyed. This way if you have any Increment On Destroy components that increment quest counters, they won't increment their counters due to the unload.)
After LoadLevel, use GUI > Screens > Hide LoadScreen in a blox in the new scene.
If you've added a Persistable Dialogue Manager component to your Dialogue Manager, plyGame should apply the saved changes from the previous level to the new level (e.g,. the player's stats).
Before using the Flow > System > LoadLevel block, use the GUI > Screens > Show LoadScreen block.
(Also use the Dialogue System > Lua > Level Will Be Unloaded block to tell the current scene that it's about to be unloaded & destroyed. This way if you have any Increment On Destroy components that increment quest counters, they won't increment their counters due to the unload.)
After LoadLevel, use GUI > Screens > Hide LoadScreen in a blox in the new scene.
If you've added a Persistable Dialogue Manager component to your Dialogue Manager, plyGame should apply the saved changes from the previous level to the new level (e.g,. the player's stats).