Skip to content

SradnickDev/Photon-Misc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

All photon related stuff I made and think it could be useful for others or me late.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published