making hero actor die when he touches enemy.

I am having a problem that i just can't seem to find a solution. I am trying to make my Hero die when he touches the enemy. the problem I am having is that he dies when the transparent background touches enemy transparent background. how do i make my hero die when his pixels touch enemy pixel? if this makes any sense.

thanks,

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    It's always best to trim your art's transparent areas tight. You can attach another actor to each and use those as the detectors for the kill.

  • forestmonsterforestmonster Member Posts: 2

    I see what you mean. How would I go about doing that? Do you know of a tutorial that I can refer to?

  • LyboTechLyboTech Member Posts: 135

    Create another actor and constrain the X / Y position to your enemy / hero actor and use them as collision detectors.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

Sign In or Register to comment.