Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I saw a different tuto for do fullscreen with "browser" function such as "request fullscreen" or "cancel fullscreen".
It is possible to work's with a html5 website open with chrome or mozilla?
Both chrome and firefox should support the request fullscreen (and cancel fullscreen) action, and if you are affraid it won't work in a browser, I think there is a condition that tests if that specific feature is supported (so if it is not supported, you don't display said option as availiable).
Develop games in your browser. Powerful, performant & highly capable.
It's ok, i use the condition if browser is Fullscreen and invert is fullscreen. Before i use the conditions with a global variable and it's doesn't works. Now, I use when my sprite is clicked.
Thanks for your answer Aphrodite.
Indeed I forgot to tell that, If I am correct, this action must be the result of a user interaction to work (on object clicked or on key pressed, etc..), I think this is by design in the browsers to prevent websites to force fullscreen on users.