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 - slenkar

Pages: [1]
Support / mouse responsiveness with AWTGL renderer?
« on: June 01, 2009, 04:59:46 pm »
Has anyone noticed a lack of mouse-button responsiveness with the AWTGL renderer?
The mouse movements and keyboard work fine but the mouse button isnt always registered.

Support / this == null
« on: May 31, 2009, 11:43:33 pm »
here is my bullet class with constructor:

public class Bullet{
   public static ArrayList list ;
   public Object3D obj;
   public Bullet(Object3D parent)
      if (list==null)
         ArrayList<Bullet> list = new ArrayList<Bullet>();
       Matrix pos=parent.getTranslationMatrix().cloneMatrix();
       Matrix rot=parent.getRotationMatrix().cloneMatrix();

when i try to add 'this' to the list it says this==null in the debugger, but the other operations on 'this' all work fine.

can anyone help?

Support / couple of random questions
« on: May 30, 2009, 08:07:54 pm »
1. If you create a webstart game or applet can the player save their game information on their PC?

2.When compiling a program in eclipse where is the compiled Jar file?, i looked in the workspace folder but it wasnt there.

Support / turn object to face another object slowly
« on: May 30, 2009, 04:06:52 am »
when i was using another 3d engine i did this:

1.created a dummy object and made it a child of object 1
2.pointed the dummy to object2 (target object) local yaw and pitch of dummy (relative to its parent)
4.increased/decreased yaw(yaxis) and pitch(xaxis) of object1 by a certain amount  (depends how good the ships turn thrusters are)
(in  my game you can upgrade turn thrusters so ships can turn to face another quicker)

if the dummys yaw is bigger than object1
reduce object1's yaw by turn thruster amount
if the dummys yaw is smaller than object1
increase object11's yaw by turn thruster amount

if the difference of the dummys yaw and pitch compared to its parent are less than the ships turn thruster amount, then just set the yaw and pitch as the same
5.set roll (zaxis) as the same for every object (zero) to make them look better, so that no ship looks upside down

is this possible in jpct?

Support / set z axis to the same as another object
« on: May 30, 2009, 04:03:04 am »
'align' copies the x axis and the y axis

How do I get the zaxis of an object and copy it to another objects zaxis (e.g. the camera)

Support / creating lwjgl mouse blanks screen
« on: May 29, 2009, 04:24:00 pm »
I added one line to the helloworld demo:


and the screen is blank, but if I remove the line the green box appears as usual.

I am using the AWTGL demo, I tried to capture AWT mouse events but they were not recognized.

So I tried to use the lwjgl Mouse.create command

I also put this line into the main program loop:

but nothing is printed to the console

Feedback / nothing wrong with jpct
« on: May 29, 2009, 01:39:15 pm »
Ive tried a lot of 3d engines and there is always something wrong with them,

So far Im trying jpct and there doesnt seem to be anything wrong with it, its not difficult to use, or understand, or install.
Its fast, cross platform, doesnt crash, has collision commands.

this is strange

Pages: [1]