I added a menu layout, added it to start after the loading, added a button to test it writing START on it, and made event (on clicked - go to layout (named) level 1). i start the game, it loads me to the menu layout but when i press the button nothing happens. any suggestions, help? <img src="smileys/smiley5.gif" border="0" align="middle" />
Did you type the exact name of the layout, with double quotation marks?
Example: "Layout 1"
By the way, if you use the other go to layout action (not named), you can select which layout you want to go to, without having to type anything.
tested both nothing still :/
Use this:
Mouse>Object Clicked>Start_Button_Name>System>Go To Layout>Choose_Layout_Name_From_The_Drop_Down_Menu
Develop games in your browser. Powerful, performant & highly capable.
nothing still <img src="smileys/smiley24.gif" border="0" align="middle" />
Always best to upload the code. Most people use dropbox.com. You'll see examples all over the forum.
ok
Your "Menu" layout has no event sheet assigned to it.
Edit: See manual enty on Layouts and Event Sheets.
Two things: You need to set the Event sheet on the Menu layout, and you should use the On clicked event for the button itself, rather than a mouse event.
Thank you very much guys i thought it was automatically targeted to the sheet im working on with it.. it works like a charm :D
lol i remember that problem when i started XD
yeah it has so many stuff to learn but when you learn how to use construct 2 its amazing of what you can achieve. :D