1
Help/FAQ / Making a sprites 'solid' area smaller than the visible image
« 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 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.