A real-time multiplayer space shooter built with Node.js, Socket.IO, and Matter.js.
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.
- Real-time multiplayer gameplay
- Physics-based space debris using Matter.js
- In-game chat system
- Live leaderboard
- Smooth camera follow system
- W A S D: Activate jetpack
- Mouse: Aim weapon
- Click: Shoot
- Chat: Enter message in chat box
- Handles physics calculations
- Manages player states and positions
- Processes collisions and scoring
- Broadcasts game state to all clients
- Renders game state
- Handles user input
- Manages visual effects and animations
- Interpolates movement for smooth gameplay
- Install dependencies
npm install- Start the server
npm start- Open
http://localhost:3000in your browser
