How can I use a jme3 test (TestWalkingChar) as a template?

I’ve copied the TestWalkingChar test into a class called Main in my project, how would I go about finding the stuff it imports and copying them into my project? My goal is to use TestWalkingChar as a template.



I get these errors when I try to run Main.java



SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

com.jme3.asset.AssetNotFoundException: Effects/Explosion/flame.png (Flipped) (Mipmaped)

at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:268)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:325)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:344)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:356)

at mygame.Main2.prepareEffect(Main2.java:231)

at mygame.Main2.simpleInitApp(Main2.java:136)

at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:231)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:129)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)

at java.lang.Thread.run(Thread.java:662)

How about doing the tutorials first?

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_asset

thank you sir

is there some way i can wrap the flat plane around a planet shape? thatd be badass. im not trying to overload this thread with nooby questions but my game crashes when i press space, i get these errors



SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.NullPointerException

at com.jme3.bullet.objects.PhysicsRigidBody.setCcdMotionThreshold(PhysicsRigidBody.java:294)

at mygame.Main.bulletControl(Main.java:401)

at mygame.Main.onAction(Main.java:389)

at com.jme3.input.InputManager.invokeActions(InputManager.java:168)

at com.jme3.input.InputManager.onKeyEventQueued(InputManager.java:425)

at com.jme3.input.InputManager.processQueue(InputManager.java:775)

at com.jme3.input.InputManager.update(InputManager.java:827)

at com.jme3.app.Application.update(Application.java:586)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:236)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)

at java.lang.Thread.run(Thread.java:662)



when i click on the “at com.jme3.bullet.objects.PhysicsRigidBody.setCcdMotionThreshold(PhysicsRigidBody.java:294)” line, it goes to that class but it’s not editable to change the package or anything, im freakin confused

Looks like you’re using the empty constructor of PhysicsRigidBody, it is not allowed