A published game can be embedded on any website. Players play the embedded game directly on your page, with the same saves, achievements, and leaderboards as on wavedash.com.
Copy the embed code
- Open the game on wavedash.com
- Click the ... menu
- Click Copy Embed Code
Paste the copied HTML anywhere on your site. Here is the embed code for Disfigure:
<div style="position:relative;box-sizing:content-box;width:100%;aspect-ratio:16 / 9;padding-bottom:40px;"><iframe src="https://wavedash.com/embed/games/disfigure" style="position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:14px;" allow="autoplay; fullscreen; clipboard-read; clipboard-write; gamepad; cross-origin-isolated; pointer-lock; orientation-lock; accelerometer; gyroscope; magnetometer; camera; microphone; focus-without-user-activation *; screen-wake-lock; keyboard-map;" allowfullscreen></iframe></div>
The <div> wrapper maintains the game's intended aspect ratio and fills the width of its container, so you can size the embed by sizing its parent element. Keep the iframe's allow attribute as-is so features like gamepads and pointer lock keep working inside the iframe.