Author Topic: jPCT 3D Asteroids!  (Read 4391 times)

Offline Remo

  • int
  • **
  • Posts: 64
    • View Profile
    • http://www.opsdirector.com/3dart
jPCT 3D Asteroids!
« on: March 27, 2006, 10:48:51 am »
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.

Offline quixote_arg

  • byte
  • *
  • Posts: 9
    • View Profile
jPCT 3D Asteroids!
« Reply #1 on: March 27, 2006, 02:20:36 pm »
Thanks! A great oportunity for the rest to learn from source code

will check it and give feedback soon

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
jPCT 3D Asteroids!
« Reply #2 on: March 27, 2006, 05:40:44 pm »
Doesn't work for me:

Code: [Select]
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?

Offline Remo

  • int
  • **
  • Posts: 64
    • View Profile
    • http://www.opsdirector.com/3dart
jPCT 3D Asteroids!
« Reply #3 on: March 27, 2006, 09:55:59 pm »
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