So I did a quick search through the latest forum topics, and then looked at the bugtracker, and it seems like someone else had an issue that seems similar to mine: sourceforge.net/tracker
To put it simply, changing between two layouts more than once during a game causes it to crash. If I go from the menu layout to the game layout, then back to the menu, then back to the game, it crashes to desktop with a generic application error.
I have had this error in two of my games so far, Griddy RPG and my new project Griddy Heroes. I solved it in my first game by simply making it impossible to go back to the menu after the game had started. However, in this new game, changing between layouts will become unavoidable, so I will need to fix it properly.
Here is my .cap and a compiled executable: http://solidfiles.com/d/f7e38098b3/
To reproduce the error, do the following steps:
1. Click any of the menu buttons to get to the battle layout
2. Press Escape to go back to the menu
3. Click another menu button to get to the battle layout
4. Move a few steps with the arrow keys.
The game then crashes.
I have updated my Construct installation with the latest build (r2) and I am still experiencing the issue. I'll need some advice to be able to continue my game project.
Are there any workarounds? Any settings I could change to make it not crash when repeatedly changing layouts? Is anything wrong with my event sheet?
Construct 2 costs so much money, I'm not sure if I can switch to it in my current situation...