Questions tagged [jmonkeyengine]

A 3D game engine written in and for Java. Many features including collisions, particle systems, shaders, terrain system, renderer abstraction.

jMonkeyEngine (jME) is a game engine made especially for modern 3D development. The entire project is based on Java for high accessibility. Advanced graphics are supported through OpenGL 2 via LWJGL.

The technology is considered a low-level game development tool. As a collection of libraries, jMonkeyEngine hardly imposes any limitations on programmers, while increased user-friendliness and optional frameworks are applicable in use with the jMonkeyPlatform.

jME is a community-centric open source project released under the new BSD license. It is used by several commercial game studios and educational institutions.

Features

jMonkeyEngine is written 100% in Java, which sets it apart from the majority of other game engines. This makes for a unique target user group of Java game developers. The code requires minimal adaptations for cross-compatibility and can sit on top of any OpenGL 2-ready device running the Java Virtual Machine. The engine is built with a shader based architecture to comply with modern graphics standards.

The development philosophy behind the jME3 core is to bring all game development essentials straight out of the box, while every included library can just as well be replaced by another, creating a neat modular structure

261 questions
1
vote
1 answer

Jmonkey NullPointerException

This is my code to load a node with a model then attach an animation control. I get a NullPointerException because it is saying my AnimControl is null. My anim control class is in Models/stickman.blend/Armature/Cube Node model =…
1
vote
1 answer

Animation Control Jmonkey

I have a blender model that has many different animations. I am trying to use the walk animation. AnimControl control = characterNode.getControl(AnimControl.class); control.addListener(new AnimEventListener() { //empty event listener…
1
vote
1 answer

What is causing messed up animations between blender and Jmonkey?

Hi I have been looking for quite a while now on what is causing this problem and have come up completely empty. I have a model that i have downloaded and rigged in blender and created some animations. The animations look fine in blender (they…
Tyler Gauch
  • 160
  • 1
  • 6
1
vote
0 answers

JMonkeyEngine, how to remove something from GeometryBatchFactory.optimize()?

I am working on a "minecraft clone" using JME and I have come across a problem that I can't have too many blocks on the screen without destroying the fps. As of right now when I try to load 1000 blocks the fps drops to around 49. I have optimized it…
MagnusCaligo
  • 707
  • 2
  • 8
  • 28
1
vote
1 answer

jMonkeyEngine - how to get a body part which was colliding

I am making a game in jMonkeyEngine where 2 characters fight together. I want that program to fetch information about collisions with simple body parts. Example, if I give punch for a character the program has knowledge about the body part. I know…
1
vote
1 answer

Draw a rectangle with JMonkey

How can I draw a simple red box?
Joey
  • 809
  • 1
  • 10
  • 24
1
vote
1 answer

Jmonkey animation-jump to waypoint

I’ve been messing with this for a while and can not seem to find out how to do this. The problem is that when i start a MotionControl, it will Always spawn the spatial at the first waypoint and move from there. However, I really need to make the…
Vaatbak
  • 11
  • 3
1
vote
1 answer

(Jmonkey Engine) java.lang.IllegalArgumentException: Cannot find animation named: 'Idle' How do I solve this? Thanks

I would like to have help with a error I'm are currently having for the Jmonkey Engine 3 and possibly help others if they are getting the same or similar message. I keep getting this error, when I run/build the project But when I put the…
Jman2
  • 11
  • 2
1
vote
2 answers

JMonkeyEngine render. Box not render

My code private Node enemies; private void initEnemies(){ enemies = new Node(); Box boxMesh = new Box(1f, 1f, 1f); Geometry boxGeo = new Geometry("Colored Box", boxMesh); Material boxMat = new Material(getAssetManager(),…
FajosDev
  • 11
  • 1
1
vote
1 answer

jMonkeyEngine multiple collision events for single collision

I have implemented and added a PhysicsCollisionListener to register when a projectile hits a player. But when a projectile hits a player. multiple events are triggered. I add my listener with…
kaetzacoatl
  • 1,419
  • 1
  • 19
  • 27
1
vote
2 answers

JMonkeyEngine-Geometry intersection NullPointerException

I'm new to 3d engines in general, and I'm getting this NullPointerException when I try to collide a Geometry and a BoundingVolume object. Here's how I declare my objects (sorry, it's rather messy at the moment) public void simpleInitApp() { …
1
vote
1 answer

How to check if object is on road?

I am new to game developing and using the jMonkey engine. I started to develop an endless running type game. To run, I have created a map with blender and imported it to jME. As the screenshot shows, I have added it to a terrain and made some…
bula
  • 8,719
  • 5
  • 27
  • 44
1
vote
0 answers

Interpret Profiler output for Out Of Memory:PermGen Space Error

I am working on a Netbeans Platform module (jMonkeyEngine plugin to be precise) in which I have used a JavaFX to build the UI a JFXPanel in the TopComponent displays the Javafx content. I have created a new Netbeans FileType and the JavaFX UI is…
1
vote
1 answer

JMonkey Android custom class loading

I've done a JMonkey app wich exceed 65 000 methods. I want to run it on android. So, I'm using the multi dex option to maven-build the apk. Then I dynamically load the second .dex file. I stored the second .dex file in a jar, in the apk's assets…
1
vote
0 answers

Anaglyph 3D rendering with JMonkeyEngine

How to do an Anaglyph 3D rendering with JMonkeyEngine ? I tested the StereoRenderPass class : http://www.jmonkeyengine.com/forum/index.php?topic=7168.30 but it generates errors when compiling. Update: I've finally succeed in integrating the Jme…
Anonymous
  • 11
  • 2