Sky of Verdun 3d

Discussion about everything. New games, 3d math, development tips...
Post Reply
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Sky of Verdun 3d

Post by Brainsaw »

Hi there,

I haven't been doing a lot of Irrlicht related stuff recently, but I had an advanced training on HTML5 a few weeks ago which inspired me to do a browser based game: Sky of Verdun 3d (http://dustbin-online.de/sov.php). It is a multiplayer 3d dogfight game where blue planes fight agains red planes.

Both client and server are written in JavaScript. Communication is done with websockets, and this works well at least in a local network. The game is known to be running on Firefox and Chrome (Windows 7 and Fedora Linux), although it only runs on Chrome if you have the client on a webserver.

The game uses:
- http://nodejs.org/ to run the JavaScript server
- http://mrdoob.github.io/three.js/ for 3d graphics in the browser
- http://cannonjs.org/ for physics

When a battle is started you can choose from 3 different planes:

Triplane, good agility, bad speed
Image

Biplane, both speed and agility are OK
Image

Monoplane, bad agility, good speed
Image

There is a training version online to see how the planes fly, but apart from some bunkers and hospitals there is nothing to destroy in the trainer.

The controls:

Cursor: pitch and roll
A/D: yaw
W/S: engine power
Space: fire
C: camera mode
H: horizon camera

If I find some time (and motivation ;) ) I might as well code a native client using Irrlicht (of course) which would have some benefits:

- nicer smoke, fire and explosions
- controls that can be assigned freely

But at the moment I hope some of you have fun with this version and post a lot of comments

Btw: it would be cool if someone is able to record a video
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Sky of Verdun 3d

Post by CuteAlien »

Pretty cool! The plane should probably lose a little more speed when you reduce engine to 0 (you can still fly upwards when doing that).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Sky of Verdun 3d

Post by Brainsaw »

Well .. there is still a lot of fine tuning to be done.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Re: Sky of Verdun 3d

Post by kazymjir »

It looks awesome, I knew that somebody later or sooner will write a game using the sockets feature :) Great job Brainsaw, I am looking for more from you!
Brainsaw wrote: (...)but apart from some bunkers and hospitals there is nothing to destroy in the trainer.
I see you are not a big fan of Geneva Conventions, lol!

Image
Looking like Herr Richthofen's plane :)
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Sky of Verdun 3d

Post by Brainsaw »

Well, when an actual battle is running you'll get -3 points if you destroy a hospital. For training it doesn't matter because there are no points. Btw: hospitals are destroyed very easily (2 hits), whereas a bunker needs about 30 hits.

Hmm ... why didn't I think of the fact that the red triplane looks like Richthofen's plane :D
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply