Actionscript 3.0, who knew all the cool things the Point class can do?
The game i’ve been working on for the past couple of weeks has really had me all twisted up. I’ve gone back and forth over how to implement movement more times then i’d like to admit. I’ve downloaded and tried out various 2D Vector, Math and other game-related libraries.
It turns out that for most of the general stuff i want to do, the go old flash Point class does most everything. I’d never noticed that it has a static polar() method, which converts polar co-ords into cartesian ones. Man, i can’t tell you how handy that is.
You really have to remember to spend some time going over the built-ins, and see if they actually will do most of what you need.

Leave a comment