Jump to content
  • Advertisement
  • entries
    23
  • comments
    21
  • views
    20941

Sooper Seecret Project Preview #2

Sign in to follow this  
nerdboy64

1112 views

I know I really should be working more on Shipyard, but I'm just having too much fun with this tank.
The tank is now a real object with some degree of physics. It can be controlled with WASD, and the gun will aim at your mouse. The physics were done using JBullet, a Java port of the Bullet physics library (originally for C++). The mouse aim was done using what in professional circles is known as a giant heap of trig. I actually spent several hours trying to figure out why I wasn't getting the right values from the formula, only to realize that I had forgotten to convert from degrees to radians and back again, as LWJGL uses degrees but Java's Math class deals in radians. Earlier I had a ton of fun (the sarcasm is tangible) learning about quaternions and how to convert them to something recognizable to humans.

I realize now that it's hard to see the grass texture as a point of reference, but trust me, the tank is really moving. It's a lot clearer in-game, but the video rendering process made it blurry.



[color=rgb(51,51,51)][font=arial]

Music by Kevin MacLeod (http://incompetech.com/) -- Available under a Creative Commons license.

[/font][/color]
Sign in to follow this  


3 Comments


Recommended Comments

If you added some bushes that could give you a better visual reference to display movement.

Share this comment


Link to comment

I'm working on a particle system to have the tracks kick up dirt as they go, but that would be a good idea as well.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!