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 Friday, 31 August 2012

Section: JavaScript Everywhere Technical level: Beginner Session type: Demo

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

  • Kamal Govindraj (@gkamal) 6 years ago

    This sounds interesting.

    My suggestion would be to identify the key code snippets you want to talk about, extract / simplify and put it on slides. A few sessions I have attended where showing real code was involved turned out to be not so useful because it wastes valuable time looking it up and also all the surrounding codes makes it difficult to get the key ideas.

  • amit yadav 6 years ago

    Bhai.... Tell be all about this....!!!!!

  • milan chandna Proposer 6 years ago (edited 6 years ago)

    Thanks all of you for great response.
    And special thanks to Kamal Govindraj for his inputs and follow up compliments.

    Here is the link to final Presentation with all the step to step demo for creating such a game of yours: http://bit.ly/RbRB6X

Login with Twitter or Google to leave a comment