The Dink Network

Reply to Re: Sprite numbers

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 20th 2004, 06:01 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
'I' for info will give you the #, but that's a bad way to do it since you cannot add more sprites thereafter.
Each could have a script equating a global variable EG;
void main ()
{
&globA = &current_sprite;
}
Next sprite gets &globB, then &globC ect...
Then one script could control them all by those globals.
But you only get about 200 global variables. Even though you could reuse those variables beware the limit.....