Apologies if this has been suggested before, or can be done in some way already...
Where I've got projects with lots of sprites and each sprite has lots of scripts, it can be quite time consuming to actually fiddle everything such that the sprite doesn't become active... which is something I quite often want when testing / debugging stuff...
It'd be nice to have a single switch to be able to turn off a sprite, and all it's associated scripts.
And maybe it could also help performance too? I have occasionally been lazy and had scripts which must be running constantly and hogging resources... it'd therefore surely be beneficial to switch 'em on or off within the scripts during a run...?
Offline
SonicPopsDad wrote:
Apologies if this has been suggested before, or can be done in some way already...
Where I've got projects with lots of sprites and each sprite has lots of scripts, it can be quite time consuming to actually fiddle everything such that the sprite doesn't become active... which is something I quite often want when testing / debugging stuff...
It'd be nice to have a single switch to be able to turn off a sprite, and all it's associated scripts.
And maybe it could also help performance too? I have occasionally been lazy and had scripts which must be running constantly and hogging resources... it'd therefore surely be beneficial to switch 'em on or off within the scripts during a run...?
you could do
when (green flag) clicked
forever
if < (spriteTurnedON) = (1) >
do whatever
But I s'pose that would also take up space and performance. I agree: This would be an excellent idea.
Last edited by coolstuff (2008-08-14 09:40:13)
Offline
Agreed. I wanted this along time ago.
Offline