Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Create a Loading Screen While Level Loads

So I am currently developing a level for my game which is loaded from the main menu which is on a separate level, Right now when I click the button it can take up to 5 seconds to load the level completed and until then the user is just stuck staring at the main menu.

I know its not much but I was wondering is there anyway to build in a REAL loading level (Not just a UMG widget that pops up with a 2 second delay or whatever)

I mean a real one that stays up until the level is ready

I have looked around and found tutorials transferring between levels but none going from a main menu to the level itself

Any help you guys can offer would be great

Product Version: Not Selected
more ▼

asked Dec 29 '15 at 11:02 PM in Blueprint Scripting

avatar image

41 23 15 21

avatar image Jacky Dec 29 '15 at 11:05 PM
avatar image Jamiex304 Dec 29 '15 at 11:14 PM

Thanks for sharing this, however I have very little skill when it comes to C++ and have been building the project using blueprints etc, but thanks anyway

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Jamiex304,

Depending if your menu level is interactive. Such as if it has actors which are used as menu props. Then you want to be able to unload that level, and load another. Well! To do this is not entirely crazy.

You do this with Level Streaming. The way level streaming works is by having one persistent level, and other levels which you stream in at even given moment. So this persistent level will be the the "Transition" level. All it is responsible for is loading, and unloading levels.

There is a tutorial on level streaming here.


So what you essentially do is on loading the persistent Transition level first. Then the persistent level is your constant state. Actors in this level will always be active, allowing your full control while other levels are interchanged. Next, you load your menu level. Then the player does whatever, and tells the menu it wants to load Deathmatch. Menu level now communicates to transition level, open Deathmatch. Now put up some video animations, and keep the main menu up. Keep in mind -- while Deathmatch is streamed into the Transition level. Everything on the menu is still going. You can hide it or update it after Deathmatch is finished. Then jump in Deathmatch, unload the Menu. Done!

Doing it that way, you never once pause the state of the game preventing any unwanted waiting or unresponsiveness.



more ▼

answered Dec 30 '15 at 12:43 AM

avatar image

2.1k 75 37 111

avatar image lostwoods91 Sep 18 '18 at 08:03 AM

doing this will prevent you to change game mode, doesn't it?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question