Image - Server Instance and Room management for Mirror
__ .___ ___. ___ _______ _______
| | | \/ | / \ / _____|| ____|
| | | \ / | / ^ \ | | __ | |__
| | | |\/| | / /_\ \ | | |_ | | __|
| | | | | | / _____ \ | |__| | | |____
|__| |__| |__| /__/ \__\ \______| |_______|
- Why and When to use Image
- Demos & Showcase (Ctrl/Cmd + Click to Open in new tab)
- Architecture and FLow
- Contributing
- To Do
- Testing on GCP
- Testing on Local Server
- Docs
It is primarily designed to handle complications faced when implementing Room logic for scenes that have complicated physics. Although MultipleAddictiveScenes examples is another way to implement this, it very quickly becomes overcomplicated when we try to modify it to suit our needs. Therfore an alternate solution is required to seperate room management from development of multiplayer game logic.
Image tries to solve this problem by providing a standalone application which provides fundamental and modular blocks to handle room management outside (as well as inside if required) Unity Environmment .
Furthermore, this can be also used for scaling the project. Developer has complete control over who has authority to choose the room for player; client
or server
The basic code provided has all the functionality required to deploy the game to a cloud. There are only few variables that the developer / dev-ops engineer needs to configure.
Project Image is in its preliminary phase. There are lot's of features that can be added. Also, the project has not been evaluated in terms of security against common attacks. Any form of contribution, whether it be code, demo, documentation, bug-reports or vulnerability identification is very welcomed!
- More Algorithms for Room Allocation
- Authentication
- Optional Use Database functionality
- Handling more than 1 server, ie
Many Ip Many Ports
Powered by GithubStatsTracker
- Open
Builds/Client/MultiplayerRoom.exe
. - You will see Mirror tanks example scene with Server address already set.
- If you seen
Port Number
already set to10001 or greater
, that means server is running in the GCP
- Simply Click on client and game will be loaded.
- Open one more instance of game on your PC or other PC and enjoy the demo.
- Open more than 4 instance and you will see that 5th one will open in other room. (If you are the only one testing server at that time)
Note: Number of players label will not be updated. It was for debugging purpose.