Game Development Reference
In-Depth Information
7. Now, before calling gotoScreen("loadingScreen") from our main class,
we can add the following lines to set lodingText and loadingImage :
((LoadingScreenController)niftyState.getNifty().getScreen("loadingScreen").getScreenController()).setLoadingText("Loading
Test Scene");
((LoadingScreenController)niftyState.getNifty().getScreen("loadingScreen").getScreenController()).setLoadingImage("Interface/
Image/loadingScreen.png");
Search WWH ::




Custom Search