Skip to content

ckapiainen/SpaceForce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Space Force ๐Ÿš€

A real-time multiplayer space shooter built with Node.js, Socket.IO, and Matter.js.

spaceforce

Deployed here: https://space-force-77a77f0ea368.herokuapp.com/ (give some time for Heroku wake up)

My aim is still to further develop this. Some of the features would include: saving player data in a database, polish the UI, add game lobbies, in-game shop for upgrades, more visual effects and better collision detection with space junk.

Features ๐Ÿ› ๏ธ

  • Real-time multiplayer gameplay
  • Physics-based space debris using Matter.js
  • In-game chat system
  • Live leaderboard
  • Smooth camera follow system

Game Controls ๐ŸŽฎ

  • W A S D: Activate jetpack
  • Mouse: Aim weapon
  • Click: Shoot
  • Chat: Enter message in chat box

Game Architecture ๐ŸŽฎ

Server-Side:

  • Handles physics calculations
  • Manages player states and positions
  • Processes collisions and scoring
  • Broadcasts game state to all clients

Client-Side

  • Renders game state
  • Handles user input
  • Manages visual effects and animations
  • Interpolates movement for smooth gameplay

Setup & Installation ๐Ÿ”ง

  1. Install dependencies
npm install
  1. Start the server
npm start
  1. Open http://localhost:3000 in your browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published