Awkward Actor Shape and Applying Graphics
LinkGTR
Member Posts: 2
Hi everyone,
Im new to Gamesalad so please bare with me. In my game I need a to make a jagged rock to which another actor (player) could potentially collide with. Now, If I create my rock let's say a 300 x 300 square, how would I make it so that the actor only triggers a 'game over' when he hits my jagged rock image file (a .PNG will background cut out)? Will/should my player collide only with the image within the 300 x 300 square or will it be running into a partially invisible square?
I hope that makes sense, wasn't easy to explain!
Kind regards.
Im new to Gamesalad so please bare with me. In my game I need a to make a jagged rock to which another actor (player) could potentially collide with. Now, If I create my rock let's say a 300 x 300 square, how would I make it so that the actor only triggers a 'game over' when he hits my jagged rock image file (a .PNG will background cut out)? Will/should my player collide only with the image within the 300 x 300 square or will it be running into a partially invisible square?
I hope that makes sense, wasn't easy to explain!
Kind regards.
Comments
GameSalad collides with actors and not images.
Take a look at this thread: http://forums.gamesalad.com/discussion/52494/spare-code-dump-it-here/p14
Scroll down to: Collision Detection For Odd Shapes