Collision detection on animated sprite question?

bladeolsonbladeolson Member Posts: 295
edited November -1 in Working with GS (Mac)
I have a character in my next game that is kind of lanky. So to get all the frames of the animation to work I had to use a pretty large actor. Is this going to cause me problems for colision detection? GS does not collide with pixels right? just the bounding frame of the actor. Any ideas?

Comments

  • iKandyiKandy Imagineer of Crazy Shit New York CityMember Posts: 310
    I have the same question. Can you create a collision area independent of the size of the artwork?
  • outasiteoutasite Member Posts: 417
    Collision detection is not based on the artwork. It is to basic shapes. Circle or square.

    So square is easy.... The entire actor is colldible with others.

    The circle is a bit different. If you were to think of photoshop or any image editor. Take a rectangle the size of your actor and draw a oval from corner to corner. that is your collision size.

    Hope this helps.
    Michael

    BTW, this is why so many for fighting for polygon collision sizes on the road map.
  • rlehmrlehm Member Posts: 320
    Search the forum there have been many threads of late for this very thing. You want to constrain an invisible actor that is smaller to your large actor.
Sign In or Register to comment.