Don't see your engine or language listed? If your game can produce output that runs in a browser, it works on Wavedash.
What Wavedash needs
The only requirements are:
- A folder of static files with an HTML entry point
- You call
Wavedash.updateLoadProgressZeroToOne(value)while assets load - You call
Wavedash.init(config)when your game is ready to run (this also signals load-complete)
That's it. Wavedash injects Wavedash into the page before your code runs, so there's nothing to install.
Minimal example
Calling Wavedash.init() is required. Your game stays hidden behind the Wavedash loading screen until you do. Call it once your game is ready to play.
(async function () {
// Set up your game however you need to
const canvas = document.createElement("canvas");
canvas.style.width = "100%";
canvas.style.height = "100%";
document.body.appendChild(canvas);
Wavedash.updateLoadProgressZeroToOne(0.5);
await startYourGame(canvas);
Wavedash.init({ debug: false });
})();
wavedash.toml
entrypoint is the first file Wavedash loads inside upload_dir. For most browser builds, this should be index.html, and that page can load whatever scripts, styles, and assets your game needs.
game_id = "YOUR_GAME_ID_HERE"
upload_dir = "./build/web"
entrypoint = "index.html"
Need help?
If you're having trouble getting your engine to work with Wavedash, check the guides for C, C++, Rust, Go, Zig, or JavaScript — one of them likely covers your toolchain. Otherwise, reach out on Discord.