Awkward Actor Shape and Applying Graphics

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.


Comments

  • SocksSocks London, UK.Member Posts: 12,822
    @LinkGTR
    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)?
    A standard collide rule will trigger whatever you need triggering when an actor collides with the 'jagged rock image file' (I take it by 'image file' you mean 'actor').
    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?
    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
Sign In or Register to comment.