Quantcast
Channel: Benoît Freslon's blog - Freelance Game Designer / Game developer » collision
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

ActionScript: Get distance between 2 MovieClips

If you want to get the distance in pixels between 2 graphic objects just use the Pythagorean theorem in ActionScript :). c² = a² + b² Download source : Get_Distance.zip function...

View Article



Image may be NSFW.
Clik here to view.

Tutorial: How to create a game like Angry Birds in Flash – Part 4 – Create...

Part 4 – Create the pigs and the collision detection Introduction Here the 4th tutorial to learn how to create a physic based game like Angry Birds in Flash. You can download the complete sources here:...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images