Any advice on collisions in AS3?

Posted by
April 21st, 2012 10:14 am


I am not sure how I am going to go about collisions and physics this time around?

Right now, there are a few art assets I created and I would like to detect collisions by the pixel. (not by a rectangle)
Is there any quick to use API or library that does that for you?

Also, there are going to be physical collisions, ie meteor with meteor and meteor with paddle..
Any advice on a simple to use physics engine that could handle these?

So any help with detecting collisions and or implementing physics, would be brilliant!

Thanks in advance.
I am gonna catch some Z’s

I always get nervous in these competitions :) But I actually want to finish a complete game this time.

3 Responses to “Any advice on collisions in AS3?”

  1. elbowroom says:

    ok duh, think I’m gonna use box2d flash, and to think I used to right physics code. 😮

  2. Matt Rix says:

    If you just want pixel perfect collisions, use this:

    If you want actual physics, then yeah, use Box2D… but if you’ve never used it before, it can take a bit of effort to get used to it.

  3. elbowroom says:

    Thanks for the advice :) I am using b2d and it is amazing.
    Update coming soon.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]