I have created a two level game. My first level is working properly but second level is not working properly. Even when the conditions are met the code is not executing properly and my game is not ending. Kindly help
Not sure what the screenshot is showing but this could be a common error where you forget to link an event sheet. Layout 2 should have an assigned event sheet, check in layout properties.
Develop games in your browser. Powerful, performant & highly capable.
There are 3 global variables- keycount2, countfish2, record3. When the value of record3=3 and keycount2<=1 the game is not showing "sorry". Also when the value of keycount2>=2, countfish2>=5 and record3=3 the game is not showing WIN.
Also game is not going back to title screen and playing endlessly.
Kindly help
Did you check what I said? Construct will only read your events if the event sheet is linked to the layout, did you try this? If you do not have an event sheet linked then it doesn't matter what you put in it.