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
Hello i tried to quit my start screen with an object named "exit"and i have added the browser action "close" but it doesnt work. Any solution,i post my screenshot.
Browsers don't let pages randomly close themselves to prevent irritating the user. You can only close it if it was a popup window or the window was otherwise created by another script.
That page doenst close on random, it should close if i click the exit button i have created. On youtube tutorial people create a button and object browser and add event close. I cant understand why it doesnt work for me. I just click and nothing happens.
I meant arbitrarily, not randomly. It's not about when you use it, it's about the circumstances in which you use it.
Ok, do you know an other method to close the game?Also when i go to control layout and i did a button called "Back" and i want go back to the layer background (the first one created)it doesnt go there. Every layer need his event sheet or is indifferent?
Web pages don't provide an exit option. If the user wants to close the page, they simply close the tab or browser window.
Develop games in your browser. Powerful, performant & highly capable.
Ok thanks, what about the back button?
I think you mean layout, not layers.
Add event -> System -> Go to layout