Hello C2 developers! ^^
After integrating many casual games in one CAPX project (a WarioWare Inc. similar game), I'm finding into some problems related to global variables. Each CAPX is now a layout with their respective EventSheet, so I created a intermediary Layout + EventSheet who, besides showing the lives of the player and the total score, also contains all the global variables and events of random generation of casual games.
Well, it happens that whenever I revisit a previously played game, bugs appears, most likely due to global variables of that game still contain values of the previous move. I tried to apply the command "Reset global variables to default", but its effect was for the entire game and not just for the EventSheet a game.
Does anyone have a suggestion on how to reset the global variables of each EventSheet game after its completion, without restarting the variables of the entire project?
PS.: Each Event Sheet game contains three variables whose values are taken to the intermediate Sheet Event: Victory condition, loss of condition and partial score.
Thank you in advance the attention and collaboration of all.