Giter VIP home page Giter VIP logo

networksample's Introduction

Network Sample

Network Sample Main Menu

Network Sample is an open-source sample project that contains multiplayer game lobby implementation with player synchronization and chat. It can be used as a foundation for multiplayer projects using Flax low-level networking transportation layer.

Minimum supported Flax version: 1.2.

Guide

  1. Download project from Github (as Zip or clone with Git)
  2. Open project
  3. Open Menu scene and Play!
  4. In the main menu, you can specify the player nickname, server IP, and port
  5. Start a server with Host button or use Connect button to connect running server

You can also use Game Cooker to build game into a standalone application to run multiple instances of clients and a server.

Screenshots

Network Sample Players

Network Sample Players List

Overview

Main types overview:

  • Player - player information container (Name, ID, Actor, etc.)
  • GameSession - game service with players list including local player
  • NetworkSession - game service with packets and network connections handling
  • Game/Network/Packets... - various types of network packets used by the sample (implementations of NetworkPacket)

License

Project is released under MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.