Examples

List of available code examples

Configuration files

These are full examples for each of the resource types of Agones

Game server implementations

These are all examples of simple game server implementations, that integrate the Agones game server SDK.

  • Simple UDP (Go) - simple server and client that send UDP packets back and forth.
  • Simple TCP (Go) - simple server that responds to new-line delimited messages sent over a TCP connection.
  • CPP Simple (C++) - C++ example that starts up, stays healthy and then shuts down after 60 seconds.
  • Node.js Simple (Node.js) - A simple Node.js example that marks itself as ready, sets some labels and then shutsdown.
  • Rust Simple (Rust) - A simple Rust example that marks itself as ready, sets some labels and then shutsdown.
  • Unity Simple (Unity3d) - This is a very simple “unity server” that doesn’t do much other than show how the SDK works in Unity.
  • Xonotic - Wraps the SDK around the open source FPS game Xonotic and hosts it on Agones.

Building on top of Agones



Last modified December 11, 2019: Release 1.2.0 (#1230) (d419b30)