Archive for the 'Caching' Category
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. […]
Posted in Flash Game Programming, Caching, AS 3 | No Comments »
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 […]
Posted in Flash Game Programming, Caching, AS 3 | No Comments »
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 […]
Posted in Flash Game Programming, Caching, AS 3 | No Comments »
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 […]
Posted in Flash, Flash Game Programming, Caching, AS 3 | No Comments »
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 […]
Posted in Flash, Flash Game Programming, Caching, AS 3 | No Comments »
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 […]
Posted in Flash, Flash Game Programming, Caching | No Comments »
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 […]
Posted in Flash, Flash Game Programming, Caching | No Comments »