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

Setting up autocompletion for Scala in JMonkey Engine

I would like to use Scala and JMonkey Engine to create a small game. It should be nothing more than a test wether the engine is fun to use. I'm new to JMonkey and therefore don't know the usual method calls. Something like autocompletion would be…
lhk
  • 27,458
  • 30
  • 122
  • 201
2
votes
0 answers

How do I implement "application run" task in Gradle?

I'm using Gradle and I wonder how I can implement a run task so I can run the program from the command "./gradlew run". I have a project named "demo" and it have the task "application run". Then I created the project "HouseObserver" and it have not…
euraad
  • 2,467
  • 5
  • 30
  • 51
2
votes
1 answer

3D Flood Fill using Java

I am using the JMonkey Engine to create a 3D bounding box and then I'm trying to use smaller boxes to flood fill the bounding box. Unfortunately I can't find a 3D flood fill algorithm. Does anyone know of a 3d flood fill algorithm or have any pseudo…
Darragh169
  • 35
  • 6
2
votes
0 answers

How can I start a JavaFx application while passing an object to it?

I am writing a game in which I am using jMonkeyEngine and JavaFx. I have a launcher written in JavaFx that can launch a new thread and run jMonkeyEngine on that thread. When it does so, it calls Platform.exit() such that the game's process ends when…
john01dav
  • 1,842
  • 1
  • 21
  • 40
2
votes
2 answers

jMonkeyEngine 3 with Maven

I've got a problem. I am trying to use jme3 with eclipse and Maven. I am using the m2e plugin (with eclipse Oxygen). Now, I want to add the jme3 dependencies to my pom.xml. I copied the dependency tags from the maven central, from the bintray…
tsatke
  • 161
  • 1
  • 19
2
votes
2 answers

How can I stop the a jMonkeyEngine game?

I want to quit the game, if 2 values are higher than 3. I want to put in in here: if(player.getWorldTranslation().y > 3){ if(player.getWorldTranslation().z > 3){ } I guess its in the…
Reisbrot
  • 37
  • 9
2
votes
1 answer

Can't build with gradle

What does this error msg mean? FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration ':compile'. > Could not find com.jme3:xmlpull-xpp3:3.0.0.20140325-SNAPSHOT. Searched in the following…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
1 answer

rotation matrix to quaternion (and back) what is wrong?

I copied a code for conversion of 3D roation matrix to quaternions and back. The same code is used in jMonkey (I just rewrote it into my C++ class). However, it does not work properly (at least not as I would expect.) e.g. I made this test: matrix…
Prokop Hapala
  • 2,424
  • 2
  • 30
  • 59
2
votes
0 answers

Jmonkey FPS camera

I am attempting to creating fps style game using the Jmonkey3 SDk. I have created a Node out of my character and attached a physics character and then added a Chase Camera to be my main fps view. The walking forward and strafing right work…
Waggoner_Keith
  • 590
  • 2
  • 9
  • 37
2
votes
2 answers

Download jMonkeyEngine using SBT

I am trying to use jMonkeyEngine 3 with Scala (using IntelliJ as an IDE, in a SBT driven Scala project). As Maven distribution was added few months ago, I try to pull the JME from this maven repository. This is what I have added into my build.sbt…
Suma
  • 33,181
  • 16
  • 123
  • 191
2
votes
3 answers

JME-Jbullet physics issue

I'm currently playing with the JME-Jbullet physics engine, and having issues with my terrain. I have 2 flat boxes, one for the floor, and one to act as a ramp. The issue is as follows: With the following code: Box slope = new Box("Slope", new…
AdrianM103
  • 51
  • 3
2
votes
2 answers

How to listen for mouse movements correctrly in JME3?

I wish geometry to rotate around it's center by mouse movement. Similar like camera rotates in sample application. The program below should rotate the cube on mouse moves horizontally. If mouse moves left, it should rotate left, if mouse moves…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
2
votes
1 answer

Get the game state using Multithreading (jME3)

I’ve been trying out Java Monkey (3)’s multi threading recently via the wiki’s tutorial. Since I just wanted to test a prototype clinet, I made a program which creates some cubes using the ‘Cubes’ library…
user3565742
2
votes
1 answer

jMonkeyEngine - rotate with mouse like in first-person games

can someone give me sample of code that will rotate my player please? I want achieve same control like in classical fps (w,a,s,d + mouse). Something with FlyByCamera but i don't know how to add it. Code is without errors. Thanks. here are methods…
El Redixo
  • 23
  • 3
2
votes
1 answer

JMonkeyEngine with JDK 8

I want to use lambda expressions, so i need JDK 8. I have set the project to JDK 8, in properties, but editor of the code gives errors when i use lambda. When trying to build it gives error like this: warning: [options] bootstrap class path not set…
Stazis
  • 73
  • 2
  • 7