Posts Tagged ‘angle’

Calculating angles and moving objects accordingly

Friday, November 18th, 2011

One of the most common tasks in Flash game development is calculating angles. This becomes important in even simple 2D games such as shooters where the player can fire bullets in all directions. If you're anything like me, you're probably not very good with math. I typically will find other ways to get the job done, and indeed I had my own way for figuring bullet paths, but eventually I decided to use real angles and I'm pleased to say it really isn't that bad. (more…)

Subscribe to RSS feed FGS5 Badge