Quote from: LiTTleDRAgo on March 01, 2011, 08:20:07 pm
I got the script is hanging error with this script, I placed the script in above all script and followed the correct order but everytime I played the game it give me that error
As GG said, if the Graphics.update is not called at least once every 10 (I think) seconds the game will crash itself. This is actually an intended built in feature to prevent the application from freezing and being unresponsive, forcing you to end the process manually with Task Manager. During long iterations, such as through an entire games resources, each pixel in a large bitmap, etc, the Graphics.update is not being called. This increases the speed of the program, but can sometimes cause this error. It may even help to make sure that your CPU is not being taxed by another program when running this. The faster it can go, the less likely the error. Or you can add some Graphics.update nested in the enumerations. This will slow the speed down slightly, but it only takes a few seconds anyway (depending), what's a few more. It's not like it is being used everytime the game is ran, or at least it shouldn't be.