Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit startup screen in JMonkey Engine

I want to edit the startup screen of a default JMonkey project so I can replace the image which shows the JMonkey with a custom image (our project logo). I mean the screen which appears when you execute a SimpleApplication project. I'm running the JMonkey SDK on a Linux Machine (Linux Mint 13 if that matters) and with OpenJDK 7.

like image 718
BlackMamba Avatar asked Nov 03 '22 15:11

BlackMamba


1 Answers

You have to change the appsettings in the main method before app.start. To do so, firstly import com.jme3.system.AppSettings;, then create a new AppSettings object with the parameter true or false, after that you can specify the location of the new image via yourAppSettingsObject.setSettingsDialogImage(path/to/image).

To set these settings as the settings for your App object, type app.setSettings(yourAppSettingsObject);.

like image 101
Richard Tingle Avatar answered Nov 13 '22 17:11

Richard Tingle