GithubHelp home page GithubHelp logo

open-netcode's Introduction

(Abandoned project, use com.unity.netcode instead

signal-2022-01-09-191118

Open Netcode is a feature rich networking package for Unity DOTS.

State: Early Preview. I'm waiting for Unity DOTS 0.50 to release so I can get the package to an alpha stage. Don't use this for anything yet. MIT license will be added when it's ready.

Main Features

  • Clientside Prediction & Server Reconciliation
  • Public and Private Snapshots
  • Events
  • Delta Compression
  • Spatial Hashing
  • Bit Compression
  • Code Generation
  • Tick Synchronization and Tick Dilation

Requirements

  • Unity 2020.3.24f1 (Probably works with later versions in the same tech branch)
  • Use of the custom DOTS packages included in the project. Once Entities 0.50 is released they will no longer be necessary.
  • Understanding what Unity DOTS is and how to write DOTS code.

TODO

  • Lag Compensation
  • Clientside replay system.
  • A generic way to predict multiple components. It's only predicting EntityPosition at the moment.
  • Custom logging.
  • Implement RCON protocol.
  • Unit tests. Look into making an integration test for the whole pipeline.
  • Use the ProfilerRecorder API to display stats in the profiler.
  • Snapshot Prediction as described in the Unity FPSSample Deep Dive video.
  • LZM compression of snapshots.
  • Wrapper around the Unity Physics Package to use it for physics simulation.
  • Hybrid read-only way for "attaching" gameobjects to networked entities.
  • Unity Relay Service

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.