Giter Site home page Giter Site logo

photon-misc's Introduction

Photon Misc

Stuff I made and id like to share because i think it could be usefull . Also for me later on :)

  • simplifies room and player properties
  • simple extension for team management assignment
  • fixed team size, unlimited team count
  • equal team fill
  • room and player extension to access the properties
  • to easily debug clients
  • shows connection ,room, player related data

I used this in a project with some constraints. It creates a pretty small package with position and rotation data from 50 units. Serialize / Deserialize it and takes care of sending,receiving and buffering. I achieved good results with 100 units and 3 player. Reduced traffic and msg/s.

  • basically to synchronize a lot of units (wip)
  • php code for login and registration
  • salt n pepper for security
  • for use with photon authentication, so your account has to be setup properly
  • file to create a db
  • simple login demo scene
  • basic out of the box solution
  • to improve synchronisation without extra dependency
  • interpolation / extrapolation
  • smooth movement
  • vector3 down to 4 byte
  • quaternion down to 4 byte
  • vector2 down to 4 byte
  • simple way to emit that one client is done with scene loading
  • basic scoreboard
  • drag n drop chat only for rooms
  • send limitations, messages are queued and send periodically, prevent spamming
  • with small utility to see if you or other joined or left the room

photon-misc's People

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.