From the daily archives:

Saturday, March 21, 2009

Updated: The tile engine discussed in this post has since been significantly cleaned-up and improved. This tile engine is packaged up with example applications and is available for download here.

My last two prototypes are based around the final two steps in this milestone. Namely, making tiles that act like walls, and making tiles that will draw above our hero.

Prototype 5 – isWall
The premise here is that if a tile is a wall, I need to create an object to do some hitTest operations. The problem of course is that our tiles aren’t objects. They are just pixel data that gets copied to a buffer and viewport. So this is what I did.

[Would you like to know more?]

{ 3 comments }