Archive for the 'Caching' Category

Game Object Management
Sunday, April 13th, 2008

Having a simple way to keep track of world objects in a game is paramount. I have a simple system that I often use in my games that I presented on at MN.swf camp this last week. It’s by no means a standard and it can be added on to at great lengths. […]

Blitting within a Rectangle
Saturday, April 12th, 2008

Often in game programming you will have a large world but you only want to render a certain viewable area of it. By doing a simple check of where an object is in the world you can render only the objects wanted to the screen. This will help out performance dramatically. The […]

Blitting in Flash
Saturday, April 12th, 2008

Next is simple example of blitting to a bitmap in Flash. The idea is to have one bitmap used for the screen and lock and unlock it every frame and draw any objects wanted to the bitmap. But don’t forget to fill the bitmap first else you will have pixels leftover from the […]

Converting Vector to Bitmap Data
Thursday, April 10th, 2008

In this the second post in Flash Player rendering techniques I am going to look at converting vector animations to bitmap data on the fly. This is not a hard and fast way of pulling this off; it’s just a way that I have done it in the past. Feel free to take […]

Flash Vector Animation Benchmarks
Thursday, April 10th, 2008

Recently I was invited to speak at MN.swf camp during which I spoke about Vectors, Bitmap Data and Game Object Management. It was a great experience and I thank everyone involved for the opportunity. Since I have all these files sitting around and I haven’t posted in about 3 months it might be […]

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 […]

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 […]