ActionScript: test collision between a circle and a line
Preview:
Download source code: circle_line_collision
Code:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172// Test collision between a circle and a line
// coded by Benoit Freslon
//
// www.benoitfreslon.com
// Copy and paste this function into your code and don’t forget to import the Point class.
import flash.geom.Point;
// pP1: (Point) the first point of the line
// pP2: (Point) the second [...]
In: ActionScript, Tip · Tagged with: ActionScript, circle, code, collision, line, source
Flash CS5 builds Iphone applications
Flash Professional CS5 will enable you to build applications for iPhone and iPod touch using ActionScript 3. These applications can be delivered to iPhone and iPod touch users through the Apple App Store.*
A public beta of Flash Professional CS5 with prerelease support for building applications for iPhone is planned for later this year. Sign up [...]
In: ActionScript, Flash, iPhone · Tagged with: ActionScript, flash, iPhone
New game, new gameplay, Roll and Jump
My new game, Roll and Jump, was designed for iphone and touch phone. The game is easy to learn but hard to master.
In: Flash, Game Design, Games, iPhone · Tagged with: ActionScript, flash, Game Design, iPhone, skill game
Win 80% performance on Flash ActionScript 2 project
If you have lot of AS 2.0 projets like me you should be happy to know that you could win 80% performance on your projets with 4 lines of ActionScript. But this tip works only on web based projets.
In: ActionScript · Tagged with: ActionScript, flash, optimisation















