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

Pages: 1 2 3 [4]
Projects / Labyrinth Z
« on: February 15, 2008, 06:03:43 pm »
I realize I'm just starting with jpct and it's a bit early, but I have to work on a project to keep my interest up.  So, my project is a platform/puzzle game called Labyrinth Z.  It stars a humanized mouse and will involve getting jumps right through timing and moving a lot of levers and switches for elevators and anything else I come up with as I go along.

Support / animation
« on: February 15, 2008, 09:15:52 am »
I'm just starting to look at animation.  I did a search and tried the two possibilities in Blender.  The md2 looks to be hopeless.  So I'll need to load 3ds key frames.  From what I read you load them and add them to the animation.  The part I don't quite understand is how you assign it time wise.  For instance, if I do a walk animation I might have a key at 1,5,10,15 or something.  In this case, it's evenly spaced, but other animations don't have evenly spaced key frames so how do I assign times to the key frames?

Support / polling problems
« on: February 14, 2008, 02:31:28 am »
I can't seem to get keyboard polling working in the hello world program.  I copied the poll and keyaffected functions from the fps and have some variables.  I don't get errors on the program, but when I try to run it with the polling I get these errors:

Exception in thread "main" java.lang.NullPointerException
   at HelloWorldAWTGL.poll(
   at HelloWorldAWTGL.loop(
   at HelloWorldAWTGL.main(

OK I think it was null because I didn't include these lines:
       frame.addWindowListener(new WindowEvents());
       keyMapper=new KeyMapper(frame);   

but now I get an error on the WindowEvents() function saying it can't resolve it, so apparently I'm not importing something.

Support / lwjgl
« on: February 14, 2008, 01:07:50 am »
Little question on LWJGL from a java noob.  If lwjgl were on the classpath of my java runtime of my system, and I clicked on a game written with jpct and run from the web start, would it use the LWJGL on my system and have a faster load time?  This probably means nothing to anyone but a phone modem user.

Support / 2nd object
« on: February 11, 2008, 07:10:38 am »
I'm starting with the cartoon network code for a framework because it's small and a little easier to understand and I'm rusty with my Java.  Anyway, I have an object loaded from this code:

Code: [Select]
Object3D[] obj= Loader.load3DS("Shadow.3DS", 1);

      Object3D Toy=new Object3D(0);
        for (int i=0; i<obj.length; i++) {
           Object3D part=obj[i];

           part.setRotationMatrix(new Matrix());
          Toy=Object3D.mergeObjects(Toy, part);
  Toy.translate(0, 0, 0);

What I don't quite understand is it starts out with this Object3d array named obj, loads the model, and doesn't mention it again until it's rotating some parts.  What I'd like to know is how would I load the next object and would that rotation code that  sets it aright with the world work for the second object also, or is that just parts of one object and it has to be redone?

So, this code was made for some kind of cartoon effect, but I want to modify it so it just loads multiple objects and sets them right side up.

Support / bump mapping
« on: February 09, 2008, 08:10:25 am »
Hi.  I'm just starting to look at jPct and really like it so far.  About the only complaint I have is that it doesn't appear to do bump mapping with Opengl.  Are there any plans for that? 

Pages: 1 2 3 [4]