b-wb
Member
Hey all
This is a really weird one! I'm new to using the debugger in GMS2 so perhaps this is something that others understand and can explain to me.
My game starts in an initialization room where it loads everything. As you can see here, the room order shows the tutorial room second.
But for some reason... when I open my game in debug mode and ONLY in debug mode, after initialization it jumps me straight to "rm_spaceBattle2"
Interestingly, it's clearly visiting the tutorial room for a split second-- because some variables which are set by an object unique to that room are... well set.
Huh... just did some testing and discovered it seems to relate to the event "async save/load" which runs from an object created in my very first room, rm_initialization-- that object is persistent and after save/load happens it runs "room_goto_next". If I change that to "room_goto(rm_tutorial)", I don't have a problem, but I am still curious about this behaviour. Why does running the game in debug mode made save/load happen twice?
This is a really weird one! I'm new to using the debugger in GMS2 so perhaps this is something that others understand and can explain to me.
My game starts in an initialization room where it loads everything. As you can see here, the room order shows the tutorial room second.
But for some reason... when I open my game in debug mode and ONLY in debug mode, after initialization it jumps me straight to "rm_spaceBattle2"
Interestingly, it's clearly visiting the tutorial room for a split second-- because some variables which are set by an object unique to that room are... well set.
Huh... just did some testing and discovered it seems to relate to the event "async save/load" which runs from an object created in my very first room, rm_initialization-- that object is persistent and after save/load happens it runs "room_goto_next". If I change that to "room_goto(rm_tutorial)", I don't have a problem, but I am still curious about this behaviour. Why does running the game in debug mode made save/load happen twice?