CONNECT YOUR GAME
BROWSER DEMO
Any engine's browser export is welcome: HTML5, WebGL, Unity or Godot. Supply a public HTTPS demo starting at your strongest gameplay, with at least 20 minutes of enjoyable content. No ads, downloads or player sign-in. Test touch and keyboard controls.
READY & GAME OVER
Load the arcade bridge on your game page. Call ready only when loading finishes and the player can begin; call finished when the demo ends.
<script src="https://bagarcade.com/arcade-bridge.js"></script> // After your game has loaded: window.BubbleArrow.ready(); // At demo completion or game over: window.BubbleArrow.finished();
PAUSE & RESUME
Pause your engine and sound on the pause event; resume on the resume event. The arcade timer pauses while the tab is hidden, and closes the embedded demo after 20 active minutes. Keep progress in your own save system if needed.
window.addEventListener('bubble-arrow:pause', () => {
// Pause your engine and mute game audio here.
});
window.addEventListener('bubble-arrow:resume', () => {
// Resume your engine and audio here.
});PRIVATE DEMO LINK
Your demo link is never shown to players. The cabinet opens it with a short-lived play pass, and the bridge checks that pass: opened directly, shared or bookmarked, your demo shows "This demo plays on Bubble Arrow Games" instead of the game. The bridge is required, and every game is checked for it before approval. Keep the demo out of search results with <meta name="robots" content="noindex"> and don't link to it from your own site.
EMBEDDING
Allow embedding by https://bagarcade.com, https://www.bagarcade.com, https://bubblearrowgames.com, https://www.bubblearrowgames.com. Do not send X-Frame-Options: DENY or SAMEORIGIN on the demo page. Fullscreen and orientation depend on browser support; the demo must also work inside the cabinet.
FIREFOX & RETURN VISITS
Do not use document.referrer or access to window.parent.location as proof that your demo is inside BAGarcade. The cabinet deliberately hides the referring address, and browsers block access to another site's window. Use the current arcade bridge above: it verifies the short-lived play pass and checks the parent window and message origin. If your demo has its own embedding guard, update it to accept the bridge's validated connection rather than rejecting an empty referrer. Keep the play-pass check; an unchecked message must never unlock your demo. Test first play and a return visit in Firefox, Chrome and Safari before submitting.
BAGarcade cannot install code into your hosted game. Give this guide to your developer or coding assistant, add the bridge to your demo page, then publish that game before testing here. Our automatic checks verify page access and media, not game quality or absence of ads. Players can report violations for owner review. Updates must pass the same checks before replacing the published version.