Test your Stream
Last updated
Was this helpful?
Last updated
Was this helpful?
To test your game locally you can do this in three ways:
Stream to localhost:8888. This allows you to debug the full web experience, including player authentication. This is the default setting with all toggled turned off and is also the recommended setting to playtest the full experience.
Play it in viewport. If you want to quickly debug locally and you want to bypass the authentication window, you can opt for testing in the viewport. To enable this you need to toggle on 'Run in Editor' and 'Auto Spawn Player'.
Play in standlone. If you want to debug networking features without needing to first pass the authentication window in the web browser, you need to toggle on 'Auto Spawn Player'.
For these things we made the YOM Toolbar to easily test your game. We added some settings to help you test your game:
Launch Game. Launches the game with the below settings.
Run in Editor. When turned off it runs the game in stand alone and starts the signaling server. When turned on it will run the game in viewport and not start the signaling server.
Respawn Player. When turned off it runs the game in stand alone and starts the signaling server. When turned on it will run the game in viewport and not start the signaling server.
Auto Connect Player: When turned on it will execute the connect logic as you would connect from the pixelstreamer
Run Webserver: When turned on it will start the webserver when we press launch game
Run Webclient: When turned on it will start the webclient when we press launch game
Force Authentication. When true, if forces users to authenticate with their wallet else it will not work.
The YOM Toolbar it to make it easy to test locally. You can still use the default buttons to play the game and the settings will apply to it.
Pressing the Launch Stream button, the servers and games will boot and you can debug your game within a webpage. Make sure to add a Player Start to the level if the character does not spawn automatically.