πŸ”—Game URL

How do I get the link or embed code for my game?

🚧

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!

Production URL (Live)

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.

1175

πŸ“˜

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.

Playtest / Secret URL (QA / Internal)

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.

733

All projects have a "production" release track, but you can create new ones for each specific use.

1784

Secret URL's are an excellent tool for playtesting or quality assurance.

Embed Game on your website

❗️

Incomplete Functionality

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 Pley.com (where Pley actively makes sure everything works).
The game itself will work excellently, but Pley cannot guarantee all features seamlessly work as intended.

On Pley, 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!