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

Unable to locate sound file (.ogg)

I have a method called setSound() which is setting up a queue and adding a track to it and then playing it. I call the method in simpleInitGame(). However no sound plays and the console in eclipse says: Mar 13, 2012 10:15:55 PM…
Mike
  • 109
  • 2
  • 10
1
vote
0 answers

JMonkeyEngine advice for networking support

Can I use http://jmonkeyengine.org/groups/android/forum/topic/how-to-get-started-1/ to build a 2d multiplayer card game for Android? Actually I only need its networking/multiplayer support. Any advice on this?
Ikoy
  • 82
  • 1
  • 7
1
vote
1 answer

JMonkey 3 Asset Cache

I'm in the process of learning JMonkey for the purpose of building a framework on top of it. How do I manage the asset cache? Is there any way to clear it? Is there any way to delete a specific item from the cache? I've been looking at the…
1
vote
1 answer

How to load model with unshaded material?

I'm making a game on JMonkeyEngine 3, I'm working on design. I made and added walls, ceiling, floor, and some models. But after I run my game, it lags. I don't need any light effects, so I want to load anything with Common/MatDefs/Misc/Unshaded.j3md…
1
vote
1 answer

How to enable antialiasing in JMonkeyEngine?

I'm trying to enable antialiasing of objects, at least to some degree. It doesn't matter if it's MSAA or orthe technique. I just want to get some sort of antialiasing, since something is better than nothing.
luke1985
  • 2,281
  • 1
  • 21
  • 34
1
vote
0 answers

Boolean is set true without ever getting to the line setting the boolean true

A normal level (picture 1) The squares are tiles and the red dots are vertices (picture 2) What I'm trying to make is a set of blocks (grey things) which can be destroyed (removed) so water can go trough them. As shown in the picture this works…
1
vote
0 answers

Issue in running JavaFX and JMonkey project in Maven

We have some problem in getting a JavaFx and JMonkey project running in Maven. The project is running without any issues in Gradle. But when we try to get it running in Maven we get a ".jar file not found in classpath" error at runtime. For…
1
vote
1 answer

Play video on JMonkeyEngine

I am doing game development using JMonkeyEngine and I have created an introduction video (.mp4). I want to play it at the start before the game starts but I am unable to play the video and can only listen the audio for a few seconds. Below is the…
1
vote
1 answer

Android - javax.imageio does not exists

One of the libs in my Android project (jMonkey 3 based) uses javax.imageio which does not exist in Android SDK. Is there anything to do about it?
Adi barda
  • 125
  • 10
1
vote
1 answer

jMonkeyEngine ignores keyboard input in Nifty GUI form

Created a game login form using the Nifty GUI. The interface reacts to the movement and clicking of the mouse, but ignores the input in the text fields. Whether the program is looking for a click handler, instead of typing, or I don’t know what.…
Risto
  • 121
  • 6
1
vote
1 answer

What's a good way to mock Java3D using Mockito?

I'm trying to mock out Java3D classes for unit tests, for example: mock(VirtualUniverse.class); or mock(Canvas3D.class); Unfortunately, VirtualUniverse (which is also referenced by Canvas3D) has a static reference to MasterControl which includes a…
Don Branson
  • 13,631
  • 10
  • 59
  • 101
1
vote
1 answer

pixel format not accelerated in jmonkeyengine 3

Instaled jmonkeyengine 3.1.0 stable SDK create new project.basic game.then run default main.java like hello world application.but gor error: failed to create display. Pixel format not…
1
vote
0 answers

jMonkeyEngine 3.1 apk not installed

I have a lot of problems with running jME project on android. Firs problem: jME SDK does not support latest version of Android SDK (it does not have sdk/tools/ant folder). I have found an older SDK version, but still it not working. jME creates…
Vadym Borys
  • 115
  • 2
  • 11
1
vote
1 answer

jMonkeyEngine from repo under Scala is crashing

After a lot of time I am going again trying jMonkeyEngine with Scala. This time I wanted properly set sbt and dependencies. Unfortunately there is a lot of issues and discomfort (like having to manually write crazy number of packages jME consists…
monnef
  • 3,903
  • 5
  • 30
  • 50
1
vote
1 answer

Java project using jMonkey really slow on high-end pc

I have a java project running jMonkey Engine. On my normal laptop (not the greatest laptop there is) my project runs fine. But on my high-end gaming pc (GeForce GTX 970, Intel i5-6600K @3.50 GHz, 16 GB RAM) the program lags. Like every 2 seconds my…
Enforcerke
  • 257
  • 1
  • 3
  • 10