Skip to content

A LibGDX server-client game communication demo.

Notifications You must be signed in to change notification settings

thekeenant/secutor

Repository files navigation

Secutor

Multiplayer games depend on a server to keep connected clients in sync with each other. Secutor demonstrates how a server can maintain the state of the game and keep clients in check.

screenshot

Try it out

  1. Grab a JAR application with ./gradlew desktop:dist
  2. Run the server with java -jar secutor.jar -server
  3. Connect any number of clients with java -jar secutor.jar

Old demonstration with collission handling (removed): Movement & collision handling

Developing & Running

Java 8 is the only requirement.

  • Run: ./gradlew desktop:run
  • Distribute: ./gradlew desktop:dist outputs to the desktop/build/libs folder

Run a server with the flag -server.

The core directory contains all the game logic and rendering.