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
2 answers

How can I serialize update messages between clients for a multiplayer scenario?

For a 2-player space scenario, I started a server that accepts connections from 2 clients. import java.io.IOException; import com.jme3.app.SimpleApplication; import com.jme3.system.JmeContext; import com.jme3.network.ConnectionListener; import…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
1
vote
1 answer

Custom controller with NiftyGUI

I have a custom button that switche image when clicked so I need to handle a mouseEvent click. But, it only react to keyEvent on the function "inputEvent(NiftyInputEvent inputEvent)"... I would have to pass a NiftyMousePrimaryClickedEvent but then,…
Jaythaking
  • 2,200
  • 4
  • 25
  • 67
1
vote
1 answer

how to use maya created objects in java?

We use Blender created objects in 'Jmonkey' XML file by installing 'Ogre Blender XML'. Is there any process for Maya as it is for Blender?? I didn't find anything for this anywhere
1
vote
1 answer

BetterCharacterControl not applying RigidBody at the right Position

So Im new to JME3 and I have a few problems understanding the BetterCharacterControl. When I try to apply a BetterCharacterControl to a box it always "expands" from the upper part of the box instead of the center. (A picture explains that…
B.Friedrichs
  • 158
  • 7
1
vote
1 answer

Trying to reference a method from one class to another = NullPointerException

I am making a game in the jMonkey Engine 3 and my world generation code was a bit bulky so I planned to move it to a new class called Generator but when I finally got everything worked out and ran my program, I got a NullPointerException in the…
1Poseidon3
  • 125
  • 1
  • 11
1
vote
1 answer

jMonkey project fails to build after adding ksoap-android-assembly?

I want to use SOAP in jMonkey3 Engine to transfer files to server. ksoap-android-assembly-3.3 is a free library for using SOAP on android without any hassles. However when I added a ksoap jar file in my jMonkey project, the android build failed in a…
simar
  • 544
  • 2
  • 7
  • 15
1
vote
0 answers

jme3 - Exported blender model throws "Num components must be between 1 and 4"

I created a model of a robot which has an armature and two animation actions in it, “walk” and “stand”. I exported this model with the latest blender2ogre exporter plugin (my Blender version is 2.69, plugin version is 0.6.0) like this: 1: Select the…
maxdev
  • 2,491
  • 1
  • 25
  • 50
1
vote
1 answer

Display Part of Texture in GLSL

I'm using GLSL to draw sprites from a sprite-sheet. I'm using jME 3, yet there are only small differences, and only with regards to deprecated functions. The most important part of drawing a sprite from a sprite sheet is to draw only a subset/range…
MemoNick
  • 501
  • 2
  • 7
  • 20
1
vote
1 answer

After coming to rest JMonkey physics objects are frozen in position

This is a very simple extension of HelloPhysics in the JME3 tutorial. When you click on a brick, the brick is removed from the game and the physicsspace. If you remove the bricks fast enough, before the wall settles, it crumbles like you would…
Zackkenyon
  • 352
  • 1
  • 2
  • 18
1
vote
3 answers

Unlocking the mouse from a JMonkey window

Normally the mouse is locked to the window and is not visible; controlling the camera in the style of first person shooters. My understanding is you unlocking the mouse from a JMonkey window and make it visible by…
Richard Tingle
  • 16,906
  • 5
  • 52
  • 77
1
vote
1 answer

JAVA - JMonkeyEngine - getting scene info

I'm working on JMonkeyEngine 3.0 I have my map in Scene.j3o I would like to add Level of detail but i don't know how to get geometry of terrain. I found few codes but all are based on heightmap terrain, and using TerrainQuad. Also I want to use…
Skatty
  • 11
  • 2
1
vote
1 answer

J-Monkey subclass

I'm new in java and J-monkey and I'm trying to make a java game so for the Menu I have made a enum so I can Switch between any of my State but I want to keep the main file shorter so it can be easily to read so I'm making subclass the problem is…
Xao Shen
  • 13
  • 3
1
vote
0 answers

Java Monkey Engine (jME) - Physics Control

I am new in jME (java Monkey Engine). I am doing my master project about a smart home simulator. I decided to do this project with jME. Right now, I have a 3D model into my simulator, the next step I want to do It's control the main door of my…
1
vote
1 answer

assetManager.loadModel results in AssetNotFound Exception

The model location has been added to the class path. I also tried importing the model which placed it in a Users folder in the project. The .loadModel statement works in jmonkey but not in java: rotor1 =…
Gene
  • 91
  • 1
  • 2
  • 9
1
vote
1 answer

In java JMonkeyEngine, public GameSettings getNewSettings()? How do I fill it out?

I'm trying to change a BaseGame to a FixedFrameRateGame, and It's saying I need a public GameSettings getNewSettings() method. Now I tried filling out like this: public GameSettings getNewSettings(){ return null; } it gives me a…
William
  • 8,630
  • 23
  • 77
  • 110