Game Load + Unload
Transition to your Game
LoL will show its own splash screen while your game is loading. Once your game loads it must call the Init function so LoL knows it can remove the splash screen and show your game.
Warning: If your game does not send an initial progress message then the game will never be seen.
Also make sure the language JSON file is loaded before starting the game and calling it. Otherwise this will cause a race condition and crash their game before it starts.
Transition from your Game
When the student completes game play, call the Complete function to notify LoL so it can transition the student to a review of your game and then on to the next game.
Warning: If your game does not send a CompleteGame message then the student will not be able to proceed.
Last updated