Circular images within Actors and the use of collision
markfirman
Member, BASIC Posts: 18
Hello I'm needing some help...
I have an image, that is circular, with a transparent background. This image is placed inside an actor. My problem occurs when I use the collision behaviour. When something collides with my actor it will destroy itself and often looks as though it's destroying itself before touching the image - this is because the image, although looking circular, has a transparent background thus making it square. So How can I prevent the transparent portions of the images ability to collide?
Regards
Comments
Change the collision shape to circle.
And make sure the image is cropped tight to the live pixels of the image with no extra transparent pixels beyond the furthest edge of the circle image.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@Socks You sir, are a genius! Thankyou!