Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Birdron

Pages: [1]
1
Support / Mouse Collision Check!!
« on: May 20, 2014, 12:50:28 pm »
Hi,
   I have to check two different collision in the game,
   1: Mouse<->plane
   2:Player<->wall

   Now, mouse is detecting both plane and wall, while I don't want the mouse to detect the wall. Player will never collide with plane, so that is not the problem.

   Is there a way to exclude the wall from mouse collision detection? The problem is, plane is below the wall. You can think the setup is "Diablo" like movement.

   Edit: Should the ellipsoid size be bigger then or equal to 1. My size is 0.5f. So, when player collides with wall, if I move the mouse left and right, it goes through the wall. My model size is: 0.1f, I had to scale it down. The movement speed is, 0.06f.

   My mouse detection method is based on the example of wiki.

   Thanks.

2
Support / Overlay Hud
« on: May 13, 2014, 11:10:59 pm »
Hi,
   I m rendering some images as hud, which is transparent hud. A circle with a whole in it. I m using both overlay and blit to see what is the difference. Jpct removes black pixels to make images transparent. Is there any method that loads transparent png files? Because using black pixels as transparency makes the image edges look very odd unless it is totally pixel drawing.

Thank you.

3
Support / Inverted Model!!!
« on: May 08, 2014, 12:25:09 am »
Hi,
I am having a very strange problem. I am using blender to create my level and exporting the model as obj, as I normaly do. When I load the model in jpct, it loads upside down. I am also loading a md2 model, which is also upside down. And most interesting thing is, the camera seems like totaly inverted. I am 100 percent sure my obj is correct, cos I tested it in irrlicht. So, what I am missing here?

Edit: do I hv to setup my scene inverted. I mean '+' will be '-'?

Thanks.

4
Support / Obj Loader!!!
« on: May 03, 2014, 12:01:48 pm »
Hi,
   I am trying to load obj with mtl file.
Code: [Select]
Object 3D[] obj = Loader.loadObj("level.obj", "level.mtl", 1f);
level = obj[0];
level.buil();
world.addObject(level);
I am getting error in second line, array index out of bound.

Thanks.

5
Support / WindowEvents type error
« on: April 07, 2014, 02:10:49 am »
Hi,
   I have created the frame like this -
Code: [Select]
private void initFrame()
{
frame = new Frame();
frame.setTitle("Hello World");
frame.setSize(Width, Height);
frame.setVisible(true);
frame.addWindowListener(new WindowEvents());
keyMapper = new KeyMapper(frame);
}
   And I am getting this error -
 
Code: [Select]
WindowEvents cannot be resolved to a type
   Another Question - to load static light map (baked), do I have to use shaders or there is in built support for it?

6
Support / Making The Game
« on: April 01, 2014, 01:07:34 am »
Hi,
   To make the game for android, do I have to make it on android or I can make it completely on PC than load on android?

Thanks in advance

7
Support / Advanced Example!
« on: January 07, 2012, 12:49:45 am »
Hi,
   I am new here. I just tried to run the AdvancedExample from the wiki. But I am getting unable to run it.
   What ide should I use to write the codes?
   How to create the class file?
   
   I am new to java as well.

   EDIT: OK, just realized I will need jdk to compile the codes ???.

   Thanks in advance.
   Regards

Pages: [1]