Skip to main content

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

I have an issue with my html5 game in that it loads but doesn't always become interactive. Sometimes it works, and other times it just sits on the menu screen. It works every time locally and elsewhere. I assume it's some sort of focus thing, so I wonder if the click to run embed would help address this as well. So if i could enable it on my game that would be good.

Is there a way to style the click to enable functionality? If I could add a background image then it would add a bit more personality to the experience.

Admin(+4)

I think the player is always going to have to click on the iframe to give it focus. With "click to run" there isn't an iframe on the page yet so it doesn't have focus. I could add a JavaScript callback to transfer focus to the frame after clicking the button though.

Regarding background images, I think it's a great idea and I considered it when implementing the feature. Since I wasn't sure how many people would be enabling this option I held off adding it. If we add a way for developers to force "click to run" then I think it definitely makes sense to allow for uploading a background image.