Spherical forums

Sphere Development => Sphere Support => Map/Tileset Support => Topic started by: williammah on August 17, 2013, 05:27:49 am

Title: Runtime error
Post by: williammah on August 17, 2013, 05:27:49 am
Everytime I ran the game, it would start to lag about 30 seconds in, then crash altogether with a runtime error, no black screen with neat little error messages. Did some fiddling about, and removed a GrabImage command from my mapengine's SetUpdateScript. Problem didnt persist after that. Any reason why GrabImage can cause runtime errors? What is a runtime error anyway, and how different it is from the 'black-screen' errors?
Title: Re: Runtime error
Post by: Fat Cerberus on August 17, 2013, 10:30:23 am
You're doing a GrabImage every frame? Most likely you're running out of memory.