Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: chrismorgan on 2007-05-28, 07:35:32 PM
-
Hi,
I have looked for a solution to my problem but have not found one.
The problem is this. I have a sprite (representing the player) wearing a hat. I want all the sprite to be visible, but I don't want the hat to be involved in collisions. For example if an enemy hits the hat the player will not be injured, or if the the player walks through a tunnel, but the hat is above the top of the tunnel, it will not stop the player.
What is the solution please?
Cheers,
Chris.
-
I'm pretty sure that it isn't possible. :(
-
Actually, I can think of one way to do it. Make your player sprite without the hat. Create a second sprite for the hat. Have the hat set to ride on top of the player.