jPCT 3D Asteroids!

Started by Remo, March 27, 2006, 10:48:51 AM

Previous topic - Next topic

Remo

Ok so I started to work on my jPCT project.
Its more like a demo of jPCT and jinput working together. So its basically a joystick test.
You will NEED a joystick for this thing to work (unless you modify the source code included).
The game is going to be based on the old Asteroids game.
Im having some problems figuring out some stuff but at least I got something to work hehe.
Its my first app with jPCT so dont go that hard on me!.


Anyway, here's the file:
http://www.jdudes.com/asteroids.zip


I already have some ideas for a better management such as using a list insted of an array to process asteroids so I can dinamically add or remove asteroids.
Im starting to work on an Asteroid radar also. And some other stuff...

Well I would apreciate some feedback.

quixote_arg

Thanks! A great oportunity for the rest to learn from source code

will check it and give feedback soon

EgonOlsen

Doesn't work for me:

OS name is: Windows XP
DX8 plugin is supported
Creating USB 2A4K  GamePad           polling = false
Creating USB 2A4K  GamePad           polling = false
Using USB 2A4K  GamePad           USB 2A4K  GamePad          :stick
Unknown component. Ignoring.
Unknown component. Ignoring.
Could not find enough components to launch Asteroids. Aborting


I've two USB-Competition attached. Does it matter that they are digital sticks?

Remo

Digital devices are not a problem.
The problem is on my side. I think the problem may be that I forced the joystick to use Z axis and Z rotation for the aplication to work and not all joysticks have that (should have tought of that :( ).
I will change that along with some other things to get a more friendly way to deal with it.

Hopefully I will have it today (my today! gmt  -6).


Edit:
Ok. I only cutted the forced Z and RZ axis. Im still working on some other stuff but you should be able to try it now Egon.
Same url: http://www.jdudes.com/asteroids.zip