Neo Async Loading ScreenDocsNeo Settings
Get startedExamples

Examples

Open-and-copy Blueprints that show how a game drives its loading screens: an example map, a destination level and a catalog of the game-facing nodes.

On this page
  1. Where they are
  2. The example map
  3. The Blueprints
  4. Copy one into your game
  5. The catalog

In a game on Direct3D 12, Windows 64-bit, Neo Async Loading Screen's own thread draws the loading screen while the engine loads (While the Engine Loads).

They live in the plugin's own content, so nothing is added to your project and none of it ends up in your game unless you reference it. No recipe of the plugin shows them: your screens stay as you set them.

Where they are

In the Content Browser, open its settings (the gear at the top right; Settings in the older layout) and tick Plugin Content (Show Plugin Content in the older layout), and Engine Content (Show Engine Content) too when the plugin came from Fab (Fab installs it in the engine), then open Neo Async Loading Screen Content > Examples (/NeoLoadingScreen/Examples). The welcome window, shown the first time the editor opens your project with the plugin, does it for you: Show the examples selects the folder, Open the example map opens the map (after the editor's own prompt to save changed levels and assets). Neo Async Loading Screen Welcome, in the Tools menu, shows the window again, as does the console command NeoLoadingScreen.Welcome; its last line links this documentation, the catalog (Blueprint API) and the API Reference (C++ API).

The example map

L_NeoLoadingScreen_Example is a lit room with four stations against its wall, each with a numbered title, a few lines of text and a pad on the floor. Open it and press Play: your project's own pawn walks it (a Third Person project's character, say), as the map sets no game mode of its own. Walk onto a pad to run that station's example. The pads are trigger volumes: the examples add no input asset and no plugin dependency.

The example map: numbered stations against a wall, each with its title, a few lines and a pad on the floor.
The example map: walk onto a station's pad to run its example.

L_NeoLoadingScreen_ExampleDestination is the level the travel examples open: the same room in another light, with the hold example, which runs when the level starts, and a pad that opens the example map again behind the loading screen.

Their loading screens show the titles Example Map and Example Destination rather than the maps' names: a map rule of the plugin's catalog (Resources/NeoLoadingScreen/catalog/examples.hload) gives them, and names no other map (Recipes).

The Blueprints

Each graph is laid out in titled, colored comment boxes that say what each step does and what a game does instead. Open its Event Graph to read it.

AssetStationWhat it shows
BP_LoadingExample_OpenLevel1, Open a levelOpen Level Behind Loading Screen: the screen fades in and covers, then the level opens; On Covered comes just before the travel, On Failed when it cannot start. Its level is a variable you set on the placed actor: the destination's pad back to the example map is the same Blueprint.
BP_LoadingExample_NextScreen2, Say what the next screen showsSet Next Loading Screen Content (a title and a tip; with no image given, the recipe's image shows), Set Loading Status (the status line under the tip), then Open Level Behind Loading Screen.
BP_LoadingExample_GameWait3, Cover a wait of your ownShow Loading Screen (its reason goes to the log only), Set Loading Status step by step while a timer stands for the game's own work, then Hide Loading Screen: the screen keeps its minimum time and fades out. No map change.
BP_LoadingExample_PlayerFacts4, The player's choicesSet Player Facts (Reduce Motion, High Contrast, Interface Size): each visit turns Reduce Motion on or off for the next screens, and the station shows the state and the style in use (Get Style Id). Step on station 1 or 3 afterwards to see the calmer screen. With Neo Settings in the project, its settings give these facts on their own.
BP_LoadingExample_HoldIn the destination levelAdd Loading Screen Hold (Self) when the level starts, Set Loading Status, a timer standing for the game's own setup (spawning, streaming), then Remove Loading Screen Hold: the screen of the level change stays until the hold goes, never longer than the recipe's maximum hold.
WBP_LoadingExample_ScreenNone: open and copyA UMG loading screen of the game's own: a Neo Async Loading Screen User Widget whose LevelNameText, TipText and StatusText the plugin fills, a heading set in On Loading Started from Get Level Name and changed in On Loading Finishing. A recipe chooses such a screen with screen { widget "/NeoLoadingScreen/Examples/WBP_LoadingExample_Screen" } and engine { thread off } (Your Own Screen).

A client joining a server needs no node (the plugin covers it on its own), and Server Travel Behind Loading Screen needs a listen server: both are in the catalog, not in a station.

Scroll the graph sideways.

Station 1 in short (BP_LoadingExample_OpenLevel): Open Level Behind Loading Screen opens the level set on the placed actor; On Covered comes just before the travel, On Failed when it cannot start.

Scroll the graph sideways.

Station 2 in short (BP_LoadingExample_NextScreen): Set Next Loading Screen Content and Set Loading Status, then Open Level Behind Loading Screen.

Scroll the graph sideways.

Station 3 in short (BP_LoadingExample_GameWait): Show Loading Screen, then Set Loading Status at each step while timers stand in for the game's own work, then Hide Loading Screen.

Scroll the graph sideways.

The destination level in short (BP_LoadingExample_Hold): Add Loading Screen Hold when the level starts keeps the level change's screen up while a timer stands in for the game's own setup, until Remove Loading Screen Hold, never longer than the recipe's maximum hold.

Copy one into your game

Select the nodes of a comment box, copy them (Ctrl+C) and paste them (Ctrl+V) into a Blueprint of your own: your game mode, your player controller, your level Blueprint. Pasted nodes keep their links. Replace the pad's overlap event with the moment your game changes level, waits or finishes its setup.

To try the UMG screen, duplicate WBP_LoadingExample_Screen into your project, then name your copy in a recipe, as above.

The catalog

Catalog/WBP_NeoLoadingScreenCatalog holds the game-facing nodes of Neo Async Loading Screen, in a titled, colored box per theme. Hover a node to read what it does. Nothing in the catalog runs: no recipe chooses it, and its nodes are not wired into a flow. Its parent is Neo Async Loading Screen User Widget, so the widget's own nodes and events have their target.

ThemeNodes
Show, hide and holdShow Loading Screen, Hide Loading Screen, Add Loading Screen Hold, Remove Loading Screen Hold, Is Loading Screen Visible, Get Loading Phase
Level changes behind the screenOpen Level Behind Loading Screen, Server Travel Behind Loading Screen (with On Covered and On Failed)
What the next screen saysSet Next Loading Screen Content, Set Next Loading Screen Tip, Preload Loading Content, Set Loading Status, Set Loading Status Line, Reset Loading Status Line, Get Loading Status Line
What the last screen didGet Last Loading Report
Events of the screenOn Loading Screen Visibility Changed, On Loading Phase Changed, each bound as you would bind it
Recipes, style and the player's choicesReload Recipes, Get Recipe Diagnostics, Get Style Id, Set Player Facts
Your own UMG screenGet Level Name, Get Tip, Get Status, Get Image Brush, Has Image, Get Elapsed Seconds, Get Kind, Get Loading Phase, Get Progress, and the events On Loading Started and On Loading Finishing
Keep the screen while the game worksShould Hold Loading Screen (the Neo Async Loading Screen Process interface)

The API Reference describes each node, its pins and its C++ form.

Something not as described? Every code the editor or the log shows has its own entry in Troubleshooting.