Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 views

Removing extra blank window when adding Jmonkey based sound to Java based game

I'm currently programming a simple run and jump game in java. I'm in the process of implementing sound and I'd like to use Jmonkey's sound because I'd like to eventually switch the whole game over to ...
0
votes
0answers
12 views

Jmonkey Translucent Render Bucket fails to model object last

So I have a weapon model that moves wherever the camera moves and the rotation of the weapon is the same as the rotation of the camera. Additionally I added the weapon to the Translucency Queue Bucket ...
0
votes
0answers
22 views

How to get the exact vector location of a loaded model in jMonkey engine

I am new to game developing and using the jMonkey engine. I started to develop an endless running type game. To run, I have created a map with blender and imported it to jME. As the shows, I have ...
1
vote
1answer
75 views

How do I draw a line using jme3.scene.shape.Line in JMonkeyEngine 3.0?

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

terrain not properly rendering

I'm extending the terrain quad with resources from various tutorials and have the following code: public class WorldTerrain extends TerrainQuad { public static final String NAME = "terrain"; ...
0
votes
0answers
43 views

JMonkey scrolling 3D text

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

What are “local” and “global” rotations?

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?
1
vote
1answer
115 views

Get the game state using Multithreading in Java Monkey Engine 3

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 ...
3
votes
1answer
202 views

What is wrong with my smooth shading code?

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 ...
4
votes
1answer
265 views

How do I make a cube move by rolling?

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

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

This code loads a picture into the game: Picture mypic= new Picture("mypic"); Texture2D tex = (Texture2D) assetManager.loadTexture("Textures/mypic.png"); ...
0
votes
0answers
166 views

JMonkey Engine. Using 2 Alpha Maps for Texture Splatting

I am trying to apply more than 3 Diffuse textures to my terrain, but ive been running into issues: A lot of the Texture loading etc is The same code over and over, so its not much to read. Ill ...
1
vote
2answers
157 views

What caused rotation in exported blender model to jMonkey? (OGRE)

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

How can I rotate an Object towards a point in JMonkeyEngine

From time to time in my game, enemies spawn in different positions and they move toward a point. I need to rotate their body in such a way that their "face" is rotated towards the point. For enemies ...
0
votes
2answers
80 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, ...
2
votes
1answer
87 views

How can I extract the Geometry from a j3o file?

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: Spatial towerModel = ...
2
votes
2answers
571 views

How can I move an object towards another along a straight line

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, ...
0
votes
1answer
294 views

How can I draw a single line using JMonkeyEngine?

I need draw a line between two boxes using their respective positions. I've created the Line object but I don't know how to show it in the scene. Line ray = new Line(box1.getLocalTranslation(), ...
0
votes
1answer
215 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. Geometry box = new Geometry("Box", new ...
0
votes
3answers
131 views

JME3 Transparent Image Shows Geometries Behind

I'm using jME3 (JMonkeyEngine). I’m setting a geometry (a box with a bullet hole material/texture) to show transparency using material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha); ...
0
votes
1answer
475 views

Can I use jMonkeyEngine to make a closed source game?

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.
1
vote
0answers
262 views

How to identify whether the boundingvolume intersects with walls or floor when it doesnt return normals?

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 ...
0
votes
1answer
138 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. ...
2
votes
1answer
506 views

jMonkeyEngine Pros and Cons

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. ...
1
vote
2answers
270 views

Endless terrain in jMonkey using TerrainGrid fails to render

I have started to learn game development using jMonkey engine. I am able to create single tile of terrain using TerrainQuad but as the next step I'm stuck at making it infinite. I have gone through ...
1
vote
1answer
934 views

JMonkey - Create health bar?

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 ...
6
votes
2answers
463 views

Best practise for representing large spaces in a scene graph

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 ...
3
votes
3answers
3k views

How do I export my Blender model to OGRE XML format for jMonkeyEngine 3?

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. ...
1
vote
0answers
199 views

Moving an object (pong paddle) along the x,y axis in 3d-space with mouse/touch

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 ...
1
vote
1answer
160 views

How free is BSD / CC-BY usage?

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

How do I properly center Nifty GUI elements on screen?

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: <?xml version="1.0" ...
2
votes
1answer
552 views

Models with more than one mesh in JMonkeyEngine

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

Convenience of mySQL over xml

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 ...
-4
votes
1answer
2k 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 ...
-2
votes
1answer
354 views

Which models and scene to use for a dungeon game?

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

Engine and level of detail for maze / labyrinth / dungeon scene?

My question is similar to these: Algorithm for generating a 2d maze To scene graph or not to scene graph? I.e. in this case should I use jme3 or some other engine (I heard unreal offers a free ...
2
votes
1answer
4k views

Correct way to export from blender to ogre format?

My question here is similar to this since I'm using jmonkeyengine and I'm looking for models and scenes to populate my 3D world Open-source 3D models easily usable in OGRE3D/jMonkeyEngine When I ...
4
votes
1answer
979 views

Can't export Blender model for use in jMonkeyEngine SDK

I have a scene rendered in blender called "civ1.blend" which contains multiple materials (for example, I have one called "white"). I want to use this model in jMonkeyEngine, so I used the OGRE ...
1
vote
1answer
517 views

Scrolling Text in jMonkey

I am looking for a way to include scrolling text boxes in a jMonkey game. I have, of course, looked around online and could not find any examples or libraries that fit. My goal is to have "quests" ...
6
votes
1answer
2k views

How to invert background pixel's color

I'm writing a game and map editor using Java and jMonkeyEngine. In the map editor, I've got a brush done by wireframed sphere. My problem is: I want to make it visible everywhere, so I want to invert ...
2
votes
2answers
516 views

jMonkey Quest Database

I am building a game in jMonkey (Java) and I have so far only used default quest text. But now I need to start populating a lot of quests with text. My design requires A LOT of quests texts. What is ...
1
vote
0answers
218 views

When attaching AI to a vehicle should I define all steps or try Line of Sight?

This problem is related to an intersection simulation I am building for university. I will try to make it as general as possible. I am trying to assign AI to a vehicle using the JMonkeyEngine ...
2
votes
1answer
798 views

JMonkeyEngine display a spatial in a Nifty GUI interface

I want to display a spatial (or the rendering of a spatial/scene) in my HUD interface. I'm really not sure how to go with this. I have search the documentation, but all the queries I search yields no ...
2
votes
1answer
779 views

How can I import a .3ds file into JMonkeyEngine 3?

I am trying to import an animated character body (with skeleton) from 3D Studio Max to JMonkeyEngine 3, but while we succeeded at importing some animations, we cannot seem to export the skeleton to ...
0
votes
3answers
1k views

How can I get rid of the diagonal wires in wireframe boxes?

I create a box with a material and set that material to be wire framed. Box b1 = new Box(new Vector3f(1.0f, -2.0f, 1.0f), 1.0f, 1.0f, 1.0f); Geometry geom1 = new Geometry("Box", b1); Material mat1 = ...
0
votes
1answer
826 views

Teaching game development with Ruby [closed]

I want to teach game development to kids as part of a course (year-long) involving Ruby. Unfortunately it looks like the game development kits available in Ruby (even in the form of bindings) are ...
1
vote
1answer
471 views

Nifty popup fails to register

I'm new to Nifty GUI, so I'm following a tutorial here for making popups. For now, I'm just trying to get a very basic "test" popup to show, but I get multiple errors and none of them make much sense. ...
1
vote
2answers
2k views

How can I rotate a sphere in response to mouse movement?

I'm using jMonkeyEngine to develop a game. I'm good at scripting, but math usually goes over my head. I tried the Wiki page for Quaternion, but I was far too confused to figure this out myself :P My ...
0
votes
1answer
1k 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 ...
5
votes
3answers
339 views

Drawing the same mesh or drawing the same material?

I was wondering. Suppose I have a 1000 grass meshes. They all have the same material, but I create them separately, because they look slightly different, because they have different heights. Does my ...