I have trouble to make it work .. when the user clicks a button it won't go fullscreen.
It is working fine on android.
Fullscreen button is not working on iOS (Chrome) when I try to press the button "Resize" for HTML5 game that runs in a browser. It seems to work on Android though. And also when I open the game in Safari and turn my phone in landscape mode it automatically hides the top browser bar.
I there a way to hide the bar at the first load of the game?
Thank you, this worked from the visual perspective perfectly. I only added additional line, to actually prevent clicking the button:
If anyone finds that helpful.
I want to make a checkbox sprite that user clicks and only after clicking the button is enabled to send the data to the database.
Develop games in your browser. Powerful, performant & highly capable.
I figured it out that I should delete the mouse object then.
Thank you! Now when I changed this to the On touched object, I can not click the button with the mouse :(
When I try to mute the song and click on the mute button, I get multiple click events. The same is when I submit the score at the end of the game. On one button click, I get 4-5 submissions into the database. On touch, it is working perfectly.
Hi! I added the option to share the Instant game on the Facebook timeline but at the app preview, when I click the share button, nothing happens. Should I do something else?
Hi, I implemented the Instant game object into the project. Created shortcut option, share button, .. but nothing seems to work. Then I exported the project as Instant games. Uploaded to Facebook Instant games (web hosting). What else should I do? No Facebook option work as it should.
Could anyone help me with this issue? Whatever I do, the share button won't work.