Archive for May, 2007

Keyboard Class
Tuesday, May 29th, 2007

Really now, why would you need a Keyboard class? Shouldn’t it be good enough to add a key listener…? In some instances yes this would be true. However if you want to keep your code OOP and efficient you should be only listen for a certain set of keys and doing actions […]

Circle Line Collision Detection
Monday, May 28th, 2007

Made famous in Pong and other paddle like games, frame independent Circle Line detection is quite handy. It can also be used to oddly shaped game pieces and when a plane is broken, a collision is detected. However, I have not found a consistent means of pulling this off if the object is […]

Bitmap Animation Caching Helper Classes
Thursday, May 24th, 2007

In an effort to help out the idea of Bitmap Animation Caching. I have made a few static classes to help out with out putting Arrays and Objects of bitmap data. Really they are just simple utilities that will make life a little easier. The real meat and potatoes comes from the […]

Rectangle Rectangle Collision Detection
Wednesday, May 23rd, 2007

Another form of collision detection which some might think is like hitTest() but this is done purely by math. Again, this code is taken from Jobe Makar’s book Gaming Demystified for Flash MX 2004 book but refactored to be OOP and a static class. What you need to pass into this is an […]

Bitmap Animation Caching in Games
Tuesday, May 22nd, 2007

Some interesting stuff has been going around about bitmaps in Flash. CacheAsBitmap has been in Flash since 8, but Jobe Makar and the fellas over at 8bitrocket have been doing some cool stuff with something called Bitmap Animation Caching.
Basically the idea is to take a movie clip or bitmap from a […]

Circle Circle Collision Detection
Monday, May 21st, 2007

I am going to be blogging on all kinds of collision detection over… well… over the life of this blog probably, as it’s such a hot topic and a difficult one at times.
First I am going to tackle Circle Circle collision detection. Now I will be honest and say that I really […]

Parallax Scrolling
Saturday, May 19th, 2007

For my first real post to interactivecrap.com (the best name for a blog EVER! :-p)  I thought I would tackle a not-so-hard yet useful topic in Flash game programming. 
Parallax Scrolling is essentially two or more backgrounds that scroll at different speeds.  I am no expert on the subject (I am hoping through this blog that […]