Hi.
I tryed to test new applet system so I created a basic game project and bulid an applet. Everyting was ok and I saw box in my firefox. Then I copy whole TestWalkingChar project to my basic game project (code, model, textures etc.), chande path that it all fit to my project and then exported it to applet. I stared it, end nothing happens, There is onlu LWJGL loading screen and nothing else.
Someone knows what could be wrong ?
TIA
Without error output… No. Try starting the project in jMP and watch the output log. Also, enable the Java Console in the java settings so you can see error output from the applet.
Exception in thread "LWJGL Renderer Thread" java.lang.NullPointerException
at mygame.Main.createCharacter(Main.java:267)
at mygame.Main.simpleInitApp(Main.java:118)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:186)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:134)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:183)
at java.lang.Thread.run(Unknown Source)
This is the exeption ir appler runtime, in jMP there is no error.
aderal said:
Exception in thread “LWJGL Renderer Thread” java.lang.NullPointerException
at mygame.Main.createCharacter(Main.java:267)
What is at line 267 of your Main class?
I guess resource loading!?
Maybe your character resources could not be found!?
The ogrexml model is nt included in the distribution jar, go to project settings/assets or make a j3o model from the golem.
This solve the problem
big thx normen and madlion !