Requires Released Game!
To create play URL:s you need to have a published release.
If you don't have one, go to the article "Release on Web" to learn how to!
You can have one release live on the production release track. This is the game available and playable for your players. If you go to Releases and select the Production Release Track the link will be available.
Changing the URL?
Each game can configure their URL slug to be what they wish. Set or change the URL of your game in the Game Manager under "Game Settings", or read Game Setting documentation.
Release tracks other than production aren't intended to be accessible by your players. Instead they are excellent for playtesting, QA, feature experimentation, or simply as an aid in development / liveops.
By checking the "Enable Secret URL Access", a "secret" URL is generated for you to share with others. This link won't be guessed by your players and let you run tests in a safe enviroment.
IFrames have inherent technical limitations implemented by web browsers, which means that your game might not have all the features in an embed as it would on Trail.gg (where Trail actively makes sure everything works).
The game itself will work excellently, but Trail cannot guarantee all features seamlessly work as intended.
On Trail, games are played within Iframes. It is possible for you to run that Iframe on your own website through an embed. Below here you can see such an embed.
IFrame embed scripts can be written like this:
<script src="https://embed.trail.gg/script.js"></script> <iframe src="https://embed.trail.gg?game_id=XXXX" width="780" height="440" frameborder="0" allowfullscreen> </iframe>
Next to a release URL (Game Manager > Releases) for any release track, you can also find an automatically generated HTML snippet for your particular game, ready to be implemented on your own website!
Updated about 1 month ago