Deploying & playing online
There are two different builds to upload:
- Server builds
- Client builds
Server builds
Server builds are created by the Elympics SDK. These builds only have the Gameplay scene and will run on our servers with minimum graphic settings in order to reduce resource usage. It serves as an authority source independent from the player, ensuring fair match resolutions.
Server builds can be uploaded by going to:
Tools -> Elympics -> Manage games in Elympics -> Upload
You can find more information in this guide.
This will only work if your ElympicsConfig
is setup correctly as stated in the requirements.
Now that you have the server build uploaded, you can change your game's mode to Debug Online Player
(and run from the gameplay scene).
You can also start from the lobby scene (doing so ignores selected game mode in the config).
This allows you to play while connected to the online server (no server clone needed), with the results saved in our database.
We recommend testing the game with the online server in the Editor a bit further before proceeding to create a client build.
Client Builds
Client builds are WebGL builds of the game that will be used by the users. These builds will include both scenes in the game and are no different from a normal WebGL game build.
Elympics supports Brotli
and None
compression but we recommend using Brotli
.
You can find more information on how to create & upload client builds here.
Make sure to change the name of the files in contents of the "build" folder to one on pair with your versioning convention. (e.g: v0.1 , v0.2, etc.)
Ensuring quality
With that, you have all the tools to iterate on your game and ensure its quality, which is mandatory to publish the game in the next step.