TNT Basic Forums > Programming Q&A
Can I do more than 1?
< Last Thread     Next Thread >
Thread        Post A Reply

03-20-2002 17:31

Posted by:
Tony Rose

Click Here to Email Tony Rose   Find more posts by Tony Rose

Is there a way to turn off more than one sprite at a time in a line of code...i.e

Instead of typing
sprite off 1
sprite off 2
sprite off 3

Something like saying..turn off sprites 1-100? I would also find this usefull for declaring image banks and such. If this is possible,please let me know.

03-20-2002 18:03

Posted by:
John Treece-Birch

Find more posts by John Treece-Birch

Turning Off Sprites

You can turn off all the sprites at once just by using the Sprite Off command without any parameters, does this help?

I'll try and add a command for turning off all sprites in a specified range but in the mean time could you not use a for loop...

int n
for n=0 to 100
Sprite Off n
next n


All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.