Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: zbjester77 on 2007-03-15, 12:00:15 PM
-
Hey, I'm new to the forums, I have been using the SGDK for years on and off. Usually I get discouraged, but lately I think I have gotten the hang of most of it. I
-
As part of the collision definition that destroys the enemy sprite you can tell it to also activate a function. Then you can make that function create a sprite that looks like you want a dying/dead enemy to appear. The function should create the sprite relative to the trigger point, which will cause it to be created where the collision occurred.
And to change the tank when it's shooting you could create a sprite that ovelaps the tank to make it look different when it's shooting, but getting it to be in the right state might be tricky if it needs to point in a particular direction -- that might require script.
Does that get you anywhere?
-
hey thanks alot. That was fast.
Yeah im working right now with a 8-direction character with no animation, so it shouldnt be a problem to over lap. if i have any trouble i will post it back up here. thanks again.