Starkiller

Trying to do a 3d spacesim though its not working properly at the moment… All the transforms are going wrong and the ship isnt flying in a straight line (probably the same reason!)… Its interesting that when you bank the ship it sometimes goes backwards or forwards randomly…

[applet archive=minishoot2.jar class=M.class width=400 height=400]

Stuff changed:
Fixed the projection equation after giving the projection screen 50 width and making the camera 50 units away from it.
Fixed the ship source, ship now flies in the correct direction.
More stars.

Keys: WASD for movement, space for LAZARS!

Try (Without the spaces in the beggining and end :persecutioncomplex:)

[ applet archive=minishoot2.jar class=the.entire.path.YourMainClass width=400 height=400 ]

[applet archive=http://www.java-gaming.org/user-generated-content/members/158235/minishoot2.jar class=full.path width=512 height=384]

Thanks for your help… I got the applet working with archive=minishoot2.jar and class=M.class.

http://www.stevydoos.com/testshoot.html

Pretty cool, is this 2.5d or 3d?
Lasers look a bit weird if you hold the spacebar down, and the movement would look a little more natural if there was a. rotation or b. a viewport(window) instead of being able to see everything

Its 3d, though every object is billboarded.

Made the lasers flickery… Am a little unsure of how to change the controls, but I see what you’re saying…

Is this control system what you’re looking for?

[applet archive=minishoot2a.jar class=M.class width=400 height=400]

I’m making the camera the center of the game universe and updating all objects with a rotation, rather than keeping the angles and calculating this all the time… I just need to rotate the object movement vectors too… At the moment it is very difficult to shoot stuff!

Ok, added some more tricks (everything that goes offscreen in one direction comes back onscreen in another).

[applet archive=minishoot2b.jar class=M.class width=400 height=400]

Enjoy!

I didn’t mean so much as to rotate the entire ship, I was just thinking of it still moving left/right but tilting to the direction of the movement(like a real plane).