Questions tagged [jmonkeyengine]

jMonkeyEngine is a 3D game engine written in and for Java.

Filter by
Sorted by
Tagged with
0
votes
2answers
102 views

How to add a texture in jmonkey

Hello I have a pretty simple question, I'm new to jmonkey and I want to add a .jpg file to the /assets/textures folder and dragging and dropping the file doesn't appear to work for me.
0
votes
1answer
2k views

Understanding .obj file

I downloaded a 3d model of a car. By judging by the skins and images available model treats wheels and car body as separate nodes. I want to access its child nodes (wheels) to specify animation. But ...
0
votes
1answer
50 views

Trying to get events to work for drag and drop

So I’m playing around with drag and drop with Nifty and I have the drag working. I don’t have a drop set up yet as I’m just trying to get the dragging working at the moment. For the purposes of my ...
0
votes
1answer
30 views

JME3 Fragment/Shader not compiling

Here is the fragment shader code (MyShaders/Shader1.frag): void main(){ gl_FragColor = vec4(1.0,1.0,1.0,1.0); } And the vertex shader code (MyShaders/Shader1....
0
votes
2answers
75 views

Nifty TextRenderer object is null

Im new to nifty and Im trying to change text control using nifty in JME application following this tutorial. Below is my TextRenderer code: ...
0
votes
1answer
55 views

Cannot find declaration of element nifty JME

I'm new to nifty. I am trying to learn how to create nifty GUI in JMonkey Engine game. I'm going through tutorials and tried to run project. Project runs fine but I get following error when I tried to ...
0
votes
1answer
498 views

Jmonkey loading texture from fails

I have the following basic code: ...
0
votes
1answer
139 views

How can I load a picture with alpha channel in JME?

This code loads a picture into the game: ...
0
votes
2answers
144 views

How can I prevent resizing of an Ogre3D object once imported into jMonkeyEngine?

I created an object in Blender: Then I exported it as a mesh.xml file and attached it to the game scene: [Note: The gray color is the ground.] In the game I end up with have a smaller, ...
0
votes
1answer
1k views

Apply a texture on a Box - jMonkeyEngine

How can i wrap a texture (for ex a 4x4 pixels) on a box (1x1x1) in such a way that the texture is repeated and not enlarged to cover all the surface. ...
0
votes
1answer
170 views

How to place an object so that it does not overlap the objects in my scene?

In my game, the user has to click at a point to place an object (mesh). I can cast a ray and find the horizontal point where the object can be translated and then attached to rootNode to display it. ...
0
votes
1answer
29 views

jMonkeyEngine ignores keyboard input

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 ...
0
votes
2answers
79 views

Limiting GIF animation rate to its frame delay in JME3

I've figured out how to render a GIF image using this library as follows: ...
0
votes
0answers
78 views

manipulate textures in real time using GPU

I'm looking for some way (tutorial, library or build in option) to draw texture on JMonkey in real time. So I have 2 images one a normal texture that is fairly big(4000x4000) and another much smaller ...
-3
votes
1answer
535 views

Which models and scene to use for a dungeon game? [closed]

I use jme3 with some builtin models and scenes and I've managed to put together a third person 3D scene. I now want to program some attack and/or fights and I think that skeleton warriors and/or ...
-3
votes
1answer
175 views

How can I edit a game level using jmonkeyengine? [closed]

I liked the quake level that comes with jME3. But if I want to edit that level, make it bigger or so, what editor or programming can I use to edit the level? If I open the zip file it's a bunch of ...
-4
votes
1answer
3k views

How to make NPC AI for my jme3 ninja game

My scene has a main character who is a ninja and an enemy which is a goblin and one monster but the monster has no animation so we can wait with him: How can I make the goblin actually move instead ...