Scrolling Game Development Kit Forum

SGDK Version 1 => General Discussion => Topic started by: billybob884 on 2006-01-04, 02:34:47 PM

Title: i may have asked this before, i really don't remember...
Post by: billybob884 on 2006-01-04, 02:34:47 PM
...but is there a way to create a sprite relative to another sprite that isnt the player?
Title: Re: i may have asked this before, i really don't remember...
Post by: durnurd on 2006-01-04, 05:17:58 PM
Depending on how you're creating it, yes or no.  If it's based on a collision between two sprites and the "another" sprite is class A in the collision, then you can activate a special function to create a new sprite relative to the trigger.
Title: Re: i may have asked this before, i really don't remember...
Post by: billybob884 on 2006-01-05, 05:56:54 PM
Ahhhh that was it; heh I can't believe I forgot that

Thanks.
Title: Re: i may have asked this before, i really don't remember...
Post by: billybob884 on 2006-01-05, 06:01:38 PM
Also, on a side note, is there anyway to aviod that short black flash you get while changing maps?