Skip to content

prashantgupta24/lua-top-down-multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer top down shooter

  • Both single player and Multiplayer support. Play with your friends (on the same network)!
  • Automatic local network searching for host server for multiplayer (using multicast)
  • Windfield for collision detection

Prerequisites

Demo

2 people playing on the same laptop. More people can join this game on their laptop if they are connected to the same network!

How to play

1. Build from source

Server

Only required if you are planning to play in Multiplayer mode.

Run make server

Game clients

Run make client

2. Use the prebuilt binaries

See Releases. Run Server on any laptop connected to the same Wifi. Run Clients on any laptops connected to the same Wifi. All clients will automatically find the server and play in multi-player mode.

Note: If a game is in session, the Server is not discoverable. It will automatically become discoverable once the game ends.

Useful links

Sockets

Windfield