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

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About this Entry

This page contains a single entry by Jos Yule published on July 4, 2008 9:50 PM.

Music! was the previous entry in this blog.

Two hours i will never be able to get back is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01