A preloader is a small scene that can download another scene package and simultaneously show progress and some content. For example, you can show advertisement while downloading a big scene package.
You can show any content while downloading. Here, we just show a simple text. Create a Tex2D and edit it's text to 'Preloader Demo', change it's size at your pleasure. Select Options > Viewport... from main menu, enable Standard Viewport; then right-click in viewport, select Show Viewport Frame from the context menu. You can see a red frame appears in viewport, move the text to the center of the red frame.
|Edit User Script File|
|First save the
scene to a file, then select View > Edit User Script File...
from main menu. Then edit the file:
1. Add below codes in the beginning:
local wcx,wcy = 0,0
Edit the FrameMove function as below:
Ok, we have finished it.