Question about while loops - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13) +--- Thread: Question about while loops (/showthread.php?tid=9908) |
Question about while loops - Iceshade - 08-14-2012 I've been working on a game, and I have many infinitely-moving parts as obstacles, but since there are so many scripts running while loops, sometimes objects will stop moving. Is this a result of having too many while loops running at once? If too much memory is being used, does that glitch up some of the scripts? RE: Question about while loops - DysLabs - 08-14-2012 Yes, it does. There is a way to not it as happening as much, but I can't remember it. RE: Question about while loops - Qwertygiy - 08-14-2012 Try making everything run inside one script instead of many. |