Loading scene
The loading scene is a special scene that is called at the start of a Pulpcore applet.
It is here that you can specify the asset file to load and perform some simple applet protection.
For our Pong applet I shall demonstrate these steps.
First we create a new loading scene.
We specify the asset file to load and the scene that we should display next after the asset file has been loaded.
We also override the load function where we do a simple check of the applets host.
If the applet is in release mode and it is not running from a host on our list it will not load the asset file and attempt to open a web page to the correct location.
If the applet is in debug mode it will load regardless of the host this lets you develop on your local machine.