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
0
votes
1 answer

How to locate texture on sphere in jME3?

I would like to place JPEG texture map on sphere. It works for me, but I want to rotate texture by 180 degrees. I.e I want image to start not from zero UV coordinates, but earlier. UPDATE I have tried to reassign texture coordinates of a sphere.…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
0
votes
1 answer

troubleshooting to get a basicgame running on android using jmonkeyengine

i’m trying to get my basic game running in android using jmonkey i've followed a few tutorials and did everything that jmonkey documentation told me to. so here’s the error i’m getting: E/AndroidHarness(13363): Exception thrown in Thread[GLThread…
0
votes
1 answer

How to handle a Java 7 LWJGL shader exception?

I try and run my techdemo for a 3D rendering using the 3d engine jme3 and the jmeplanet library and it displays the startup splash screen and starts rendering the 3D scene but when starting the control and actually move around in the gameworld, it…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
1 answer

Replacement for Deprecated jMonkey methods

I am currently working through the jMonkey beginner tutorials, specifically Hello Collision and have ran across a deprecated class in the tutorial, CharacterControl. I found what seems to be the most natural successor BetterCharacterControl. I…
celeriko
  • 1,564
  • 1
  • 13
  • 26
0
votes
2 answers

How can I instantiate an abstract class to remove a NullPointerException?

So the question title is a little weird but it is the only way I could think of the get the point across. I have a NullPointerException from doing this (The extra code is taken out): public abstract class Generator extends SimpleApplication{ …
0
votes
2 answers

NullPointerException that wont go away

So for those of you that are familiar with the jMonkey Engine, I have this code: @Override public void simpleUpdate(float tpf) { if (load) { if (frameCount == 1) { Element element =…
1Poseidon3
  • 125
  • 1
  • 11
0
votes
2 answers

How to flush all input events in jMonkey

My game takes around a minute to load in android till the first screen appears. Till the time its loading, jmonkey’s input manager seems to queue all inputs which results in nasty behavior(automatic button clicks) as soon as my first nifty screen…
simar
  • 544
  • 2
  • 7
  • 15
0
votes
3 answers

What is this NullPointerException supposed to mean?

This code is giving me a java.lang.NullPointerException and I don't know why. Exact error: java.lang.NullPointerException at com.bminus.ttp.controller.HUD.bind(HUD.java:35) at de.lessvoid.nifty.screen.Screen.startScreen(Screen.java:210) …
1Poseidon3
  • 125
  • 1
  • 11
0
votes
1 answer

Problems with Lists and ImmutableLists

So I have this weird error in my program (The last error before there is supposedly no more) that I cannot solve no matter what I do. I am using jMonkey Engine 3 (jme3) and this is the piece of code with the error: public List
1Poseidon3
  • 125
  • 1
  • 11
0
votes
1 answer

Accessing intent extras in jmonkey engine appstates?

I want to access variables passed via android intents in jMonkey app. I can access these variables using the typical intent variable reading code in the MainActivity @Override public void onCreate(Bundle savedInstanceState) { …
simar
  • 544
  • 2
  • 7
  • 15
0
votes
1 answer

JMonkey Selection Square Complication

I have created a way to draw a selection box on the screen when you click and drag the mouse. Like in most strategy games. When the mouse is pressed, i call my draw method which creates a quad mesh and adds it to the guiNode. (Flat on screen).…
user3011902
0
votes
1 answer

How to fix the movement of 3D object?

I got a 3D spaceship that moves forward and backward in the 3D scene correctly but the rightward and leftward movements are not right and what the A and D buttons do seem to vary with the camera position. This is the listener code which works for…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
1 answer

Why does the spaceship not appear?

I use jmonkeyengine and I downloaded a spaceship model from blendswap and converted it to j3o to load it with jmonkeyengine for a space scene where I can control the ship and travel around. However the spaceship is not loaded. The space and planets…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
1 answer

JME3 and VLCJ optimisation

Previously I managed to get working vlcj in jme3 in a quite decent way. Now I switched the code to a older machine, single core, and the thing is terrible! The video won't even play properly, and after 15-20 sec the video just crashes, and…
DLabinac
  • 47
  • 8
0
votes
2 answers

Thread in JME doesn't work

In JME I try to use threading but when I run the program the function never starts. I have a server socket who is listening to input from Netbeans. Listener while (isRunning) { //Reads and prints the input String…
M. Jacobs
  • 7
  • 5