sourcedrive.net
Vectrix

(This is an old school project for a Flash course that I gave a page since I thought it is kind of cool...)

Vectrix is a small arcade flying game where you control a small space ship in the middle of a large asteroid field. The game combines three-dimensional vector graphics (hence the name "Vectrix") with traditional two-dimensional sprite graphics. Since Flash has no official 3D support I had to write everything from scratch, beginning with the concept of 3D-points, vectors and even a third dimension along the Z-axis. I found some good tutorials at www.kirupa.com to get started with the really low level graphics stuff. After I got the graphics working I had to figure out how to do other game related calculations such as collision detection, since the "normal" flash ways of doing this do not work in 3D.

For those interested I have provided the source code for the game frame here. The code for the menu frames is not included since their code not very interesting. The game can be played directly within the browser window, but I have found that it runs better as a standalone application started from an executable file. Such a file for Windows can be found here and for Mac OSX here.

PLAY THE GAME!

Copyright © 2006-2008 Sebastian Ahlman (my given name.my surname@gmail.com)