Skip to main content

Questions tagged [jmonkeyengine]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

I'm using HillHeightMap to generate a heightmap. I found a way to generate an alphamap based on a heightmap. This is how I create the material ...
Jason Crosby's user avatar
0 votes
1 answer
165 views

I am playing around with PBR materials and I cant get them to work correctly. When I create a material using PBR the model appears gray in game. Any ideas on why I’m not getting the same result? ...
Jason Crosby's user avatar
1 vote
0 answers
56 views

I'm trying to use a font with a larger size in a ttf file using nifty GUI. All questions and answers I've seen are concerned with making fonts in fnt fonts in a different size, but the size I want to ...
Teeracroptus's user avatar
0 votes
1 answer
84 views

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 ...
Risto's user avatar
  • 101
0 votes
1 answer
155 views

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 ...
Jason Crosby's user avatar
0 votes
1 answer
85 views

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....
mackycheese21's user avatar
0 votes
2 answers
159 views

I've figured out how to render a GIF image using this library as follows: ...
T145's user avatar
  • 103
2 votes
3 answers
139 views

I have a curiosity. Say I wanted to create a big forest using Blender, in this forest I'd like to have a campfire or several campfires. What I could do is create the entire scene in Blender with ...
Alex's user avatar
  • 21
0 votes
2 answers
129 views

Im new to nifty and Im trying to change text control using nifty in JME application following this tutorial. Below is my TextRenderer code: ...
Crawler's user avatar
  • 143
3 votes
0 answers
56 views

I am using Nifty in JME SDK to make different screens. I stuck in this problem that nifty doesn't refresh its design preview to reflect any changes in xml. But this works: If I close .xml and reopen ...
Crawler's user avatar
  • 143
0 votes
1 answer
103 views

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 ...
Crawler's user avatar
  • 143
1 vote
2 answers
893 views

Hi I have a text field on my screen but its tiny: ...
serge's user avatar
  • 227
1 vote
2 answers
523 views

In JMonkeyEngine, given any view direction Vector3f instance, I'd like to get a new vector facing the nearest x or z axis (positive or negative), with y set to 0. For example ...
Yanick Rochon's user avatar
-3 votes
1 answer
231 views

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 ...
Niklas Rosencrantz's user avatar
0 votes
1 answer
406 views

I am currently developing a Puzzle/RPG game which works a little bit like Minesweeper. You have a Field of Tiles and 2, 3 or 4 different colors from which you can choose. Now you have to uncover tiles ...
M0rgenstern's user avatar
2 votes
1 answer
527 views

I have been studying Java for almost a year and have been trying to develop a game using jMonkey. I have tried Unity before but since I only know Java I decided to go with jMonkey. My problem is that ...
Johan's user avatar
  • 121
3 votes
1 answer
265 views

So I am trying to learn jMonkey, I have understood everything so far, and I thought I understood how to make objects solid, so things can't go through each other. When I create my Collision shapes, I ...
Méntoss's user avatar
0 votes
2 answers
246 views

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.
user4348719's user avatar
0 votes
0 answers
97 views

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 ...
Thijser's user avatar
  • 955
1 vote
1 answer
646 views

I have the following basic code: ...
Thijser's user avatar
  • 955
1 vote
2 answers
142 views

Take a look at the picture. I've got a camera(brown) and its ray(red). As I know ray has a direction and unlimited length(if you don't set it yourself). But now I need to determine ray's vector that ...
Tony's user avatar
  • 113
1 vote
1 answer
225 views

Video playback in jMonkeyEngine 3.0 seemed to be in limbo for quite a while until I chanced upon this thread about playing videos by integrating JavaFX 2 into the JME3 framework. This coupled with the ...
Ed_Fernando's user avatar
1 vote
1 answer
2k views

I can successfully create the object, but it can't be attached to the rootNode. What can I do to make the line appear? I'll also would like to know how to reverse the effect(making it disappear) ...
Stync's user avatar
  • 311
1 vote
2 answers
504 views

I'm extending the terrain quad with resources from various tutorials and have the following code: ...
Thijser's user avatar
  • 955
1 vote
0 answers
212 views

I need to make a scrolling 3D text, which is not a gui. I have a 3d box display over which I should render a long scrolling text. I can render and move text, but how do I cut/make invisible the part ...
DLabinac's user avatar
  • 165
3 votes
2 answers
2k views

Each node in jME3 has local and global rotations, which can be expressed in quaternions. What are they? Documentation has no clues, about in which state rotations are zero?
Suzan Cioc's user avatar
2 votes
1 answer
450 views

I’ve been trying out Java Monkey’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 ...
user44973's user avatar
4 votes
1 answer
545 views

I am having trouble getting smooth lighting to work in Java Monkey Engine. My terrain is voxel-based, with an iso-surface generated via Marching Cubes over the data field. Up until now, I have been ...
MukRaker's user avatar
4 votes
1 answer
1k views

I am learning jMonkeyEngine by making some small games with it. I have a simple rectangular cube that I want the player to be able to roll around the game world. When he presses the arrow keys, the ...
Martin Rohwedder's user avatar
0 votes
1 answer
192 views

This code loads a picture into the game: ...
Fab's user avatar
  • 189
1 vote
3 answers
549 views

First off, I am very new to jMonkeyEngine 3 and still learning. Not exactly sure what could be causing my snowman to have already been rotated before import. I created him in blender and it was facing ...
gemurdock's user avatar
0 votes
2 answers
197 views

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, ...
Fab's user avatar
  • 189
2 votes
1 answer
271 views

I created a blender file and then converted it into the j3o file. The only way to load the 3d structure in the game is through a Spacial object: ...
Fab's user avatar
  • 189
3 votes
2 answers
3k views

How can I move an object (like a cube) towards another object? Let's say that we have a red cube in the center of a floor, and a blue cube in another location, there aren't objects between this two, ...
Fab's user avatar
  • 189
0 votes
1 answer
1k views

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. ...
Fab's user avatar
  • 189
2 votes
3 answers
646 views

I'm using jME3 (JMonkeyEngine). I’m setting a geometry (a box with a bullet hole material/texture) to show transparency using ...
Jimmt's user avatar
  • 203
2 votes
1 answer
1k views

Can I just share the jMonkeyEngine code and keep my code closed or would I have to make my game open as well? Sorry if this is a noob question.
Pepelluepe's user avatar
1 vote
0 answers
770 views

My game in jMonkey is the kind that use will have to place objects in a scene (which consist of walls and slabs and floor). All my models are centered at origin. When the user click a point I use ray ...
simar's user avatar
  • 111
0 votes
1 answer
241 views

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. ...
simar's user avatar
  • 111
3 votes
1 answer
2k views

I want to know some good reasons to use jMonkeyEngine for a Java 3d game development tool instead of just creating a game with LWJGL myself? I want to know a good reason I should choose this tool. ...
KingCodeFish's user avatar
2 votes
2 answers
898 views

I have started to learn game development, using the jMonkey engine. I am able to create single tile of terrain using TerrainQuad, but in the next step, I'm stuck at ...
nightcrawler23's user avatar
1 vote
1 answer
2k views

How can I create a health bar in JMonkey? Is there some documentation that can help? I am working on a game, specifically “Battleship”, using the JMonkey Engine (JME3). I want to add health bars on ...
M.ASH's user avatar
  • 13
6 votes
2 answers
909 views

I'm attempting to represent a procedurally generated world in a scene graph, specifically in the Jmonkey engine (Jme3). To make this managable I have broken up the world into smaller chunks. Each ...
Feone's user avatar
  • 63
3 votes
3 answers
9k views

I'm an amateur software engineer with several simple 2D-game projects under my belt. I'v recently turned my attention towards creating a basic 3D game, nothing too fancy, just to get a grip on things. ...
zack_falcon's user avatar
1 vote
0 answers
430 views

First of all: Sorry, my English isn't quiet good, I'm very new in 3D and I'am using JMonkeyEngine. What I would like to do?: A 3d pong game and I want to control the paddle with the mousecursor and/...
planschmuh's user avatar
1 vote
1 answer
1k views

I looked at blendswap.com where there are models that I want to make walk along a wall in this level. AFAIK I can take this file and sell it or did I misunderstand licensing?
Niklas Rosencrantz's user avatar
2 votes
1 answer
886 views

I am new to JME3 game engine but I know Android XML GUI layouts pretty good. I have a simple layout here and I cant figure out what is wrong. Here is my XML code: ...
Jason Crosby's user avatar
3 votes
1 answer
987 views

I’m a new jmonkey engine developer and I’m beginning to import models. I tried to import simple models and no problems appeared, but when I export some obj models having more than one mesh in the ...
Andrea Tucci's user avatar
2 votes
2 answers
380 views

Currently I use XML to store specific information to correctly load a few things such as a list of specfied characters, scenes and music, Once more I use JAXB in combination with standard compression/...
kdgwill's user avatar
  • 133
-4 votes
1 answer
4k views

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 of ...
Niklas Rosencrantz's user avatar