JSFoo 2012

It’s like kung fu with JavaScript and objects! All about building full size apps in JavaScript.

3D FPS multiplayer game using JavaScript

Submitted by milan chandna on Aug 31, 2012

Section: JavaScript Everywhere Technical level: Beginner Session type: Demo Status: Confirmed & scheduled

Abstract

Demo of a 3D first person Multiplayer game completely built in JavaScript. At Server side node.js is used to manage clients and at Client side 'Three.js' library is used for 3D. So come along and see how easy it is to develop such a game and also takeaway the solution to commonly faced issues while developing this kind of game.

Outline

There are two sides of this game. 1. Server side - Server is required to sync up all your clients as this is a multiplayer game. I have used node.js for server side as I wanted this to be a completely JavaScript game.

  1. Client side - At client side I have used 'Three.js', a 3D engine in javascript, to render the objects of game. There will a simple arena made from cubic objects just like a maze.

I will discuss and share the common issues faced while making this game like collision-detection/loading object-models/syncing-movement and a lot of stuff. I will explain all these stuff from real code so that it will be easy for you to understand.

Based on the user-demand I might even share my complete code.

Speaker bio

By profession I am an Adobe ColdFusion Engineer but it's my passion to develop games.

I have developed a 3D FPS multiplayer JS game from scratch and have solved all the issues I faced. I want to share all these issues and along with their solution.

I will also explain the code and will show how easy it is to develop.

So get along with me if you want to make such a game of your own.

Slides

https://dl.dropbox.com/u/33922233/game.ppt

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('You need to be a participant to comment.') }}

{{ formTitle }}
{{ gettext('Post a comment...') }}
{{ gettext('New comment') }}

{{ errorMsg }}