The Dink Network

Reply to Re: Multiple Sprites

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:
 
 
October 26th 2007, 11:28 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
When you change screens, all sprites on that screen are killed including Dink's sprite.
I'm not sure what you mean, but you can do this:

int &crap;
//sprite 1
&crap = create_sprite(x,y,brain,seq,frame);
sp_script(&crap,"sample");

//sprite 2
&crap = create_sprite(x,y,brain,seq,frame);
sp_script(&crap,"sample2");

//note that if you try to call on the sprites using the &crap variable,
//only sprite 2 would be affected since it is the last