Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Tyranobuilder HTML5 - Won't play automatically

A topic by csaa.technicalarts created Mar 29, 2023 Views: 216 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hello.

Whenever I upload a Tyranobuilder game exported an HTML5 (properly zipped for upload to itch.io), and play the game on my browser, I always get a black screen. It takes me (or two) mouse clicks on the black field before the game begins. Ideally I'd like the game to automatically start once the browser loads it from itch.io (or cache). 

(1) Is there a setting in itch.io for this?

EDIT: After more searching, I found this note in the Uploading HTML5 games instructions for itch.io. It says ...

Click to Play — By default your project will require a click to start. This will ensure your game doesn’t slow the viewer’s browser when the itch.io page initially loads. If you have a lightweight project, you can disable Click to play and your project will start when the page loads. Keep in mind audio may be muted on some browsers when using auto-start.

... but I don't find this in the Embed Game settings. Perhaps if I disable require-a-click-to-start, the game will auto execute.

(2) Is there a configuration in Tyranobuilder that I overlooked?

Any help is much appreciated.

Cheers!

I don't know Tyranobuilder, but one consideration.

"Click to Play" from itch side, mean. The player must click on the iframe to begin loading the game into the browser's memory.

If you disable that and your game is heavy, you're going to force anyone who visits your page to download a bunch of data, just for visiting it, and that's bad.

This has nothing to do with your game starting, but with the game loading in the browser.

If your game has an error, and you need to click it twice before starting, you will get the same error, because they are different things.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.