Skip to content

A HTML 5 Multiplayer car game that uses Node.js and Socket.io

Notifications You must be signed in to change notification settings

JohnAkerman/BlockRacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockRacer

A HTML 5 Multiplayer car game that uses Node.js and Socket.io

Current Implementation

  • Players define their name before joining.
  • Car movement
  • Ability to shoot bullets (not refined yet).
  • Handbrake leave skidmarks.
  • Majority of logic is completed on each client, network usage is compromised of sending key strokes and resyncing player values.

To Do

  • Tile system used for track sprites and track collision.
  • Refine shooting/bullet mechanic.

Known Bugs

Bullets don't always reduce their owners bullet count, resulting in the player not having the ability to shoot any more bullets.

Usage

Ensure the Start Server.bat file points to your location of BlockRacer, default is c:\wamp\www\blockracer\node\node js/app.js Current code listens to port 8080.

Car Controls

Keys Action
W / Up Arrow Accelerate
S / Down Arrow Reverse
A / Left Arrow Steer Left
D / Right Arrow Steer Right
Spacebar Handbrake
X Shoot bullet (currently max of 10 at a time)

About

A HTML 5 Multiplayer car game that uses Node.js and Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published