Welcome

These tutorials are meant to explain how to use vectors with Flash and Actionscript. You dont have to know high level mathematics to understand the ideas, but some previous knowledge is always good. Please notice that only 2D vectors are discussed and if you are looking for 3D vectors then I am afraid you need to look from somewhere else.

Not every game of course has need for vectors, in text-based adventure game the vector calculations would be totally useless. But in most games with movement the vectors can be huge help: games like golf, pinball, breakout, games about driving or shooting, they all benefit from better physics which can be achieved with vectors.

These tutorials expect you to know something about Actionscript and Macromedia Flash. They might be too hard to understand, if you never before made anything with Flash. And as my English is not very good, there are probably lots of mistakes and some parts might not be well explained. I am sorry, I do my best. If you find bugs or mistakes, let me know.

I have used Flash CS3 to create the code and source files. They do not work under Flash8, Flash MX2004 or FlashMX. They also do not work for Actionscript 2 or 1. Most code is given as external class file so you can use it with Flex too, however my knowledge of Flex is too limited to present working examples for Flex.

To see the examples correctly please make sure you have installed Flash Player 9. You can download it here .

Examples and code and source files presented here are free to use under CC license.

I hope you find something useful here :)

Thanks
Tony 2005 - 2008