It's rare, and doesn't happen often, but if one single crash is a disqualification then I might not have a chance. It sucks to not know something.
I will be sure to elaborate on this rule. I don't think any games will be outright disqualified for a single rule violation this time around (like last year,) but if crashes do happen, it will most certainly affect your score in the long run.
Basically, if a judge decides that a game is "disqialified" then they just won't vote for it.
I'm trying not to scare anyone off.
But do look into your code. A while loop that tirns out to be infinite is most likely the cause of your issue. I know it would be a lot of work, but a debugging technique you might want to try is something like this for while loops:
var loopcount, MAXLOOPS;
MAXLOOPS = 100;
loopcount =0;
while (conditions) and loopcount < MAXLOOP {
//your code like normal
loopcount += 1;
}
if loopcount == MAXLOOP {
show_message ("infinite loop encountered");
}
Here's the thing. I don't use 'while' anywhere unless it's part of the engine.
About how it could be tailored to some of Klazen's mentioned problems: I do use a particle system but the crash still happened in I Wanna Be Gaming (my first game)
before I had GM pro which would ALLOW for particles.
I was thinking sprite creation might cause it since death blood is a sprite.
BUT on even rarer occasion just switching a room can cause it.
It could be because I run GameMaker through Windows Emulation on a mac since I'm stuck with this Macintosh.
Can't let having a Shart-Garbo Mac stop me from making a game, right?
Anyway, I still think I need someone who knows how Windows memory works, because the crash can even happen on my windows emulation.
The emulation software hasn't failed me very much in terms of file creation. Hell, it can even run the game at full speed 50FPS, at least for a while. Literally everything works almost exactly how GM would work on another computer.
I'd suggest getting WhatIsHang or some other Hang-debugger and finding out the issue.
This emulation software doesn't run everything but GM is one of the things that CAN operate flawlessly under it.
The question still sits, if I don't use any code with 'while' in it what could cause an infinite loop at random?