See Through Walls
Posted on September 15, 2006 at 11:47 AM
This demonstrates a method of allowing the player to see through walls in a 45 degree topdown perspective. If anyone has any ideas on how to improve the speed of this then I'd be pleased to know. For the next version I plan to add isometric tiles only I'm having some trouble figuring out a bug that you can see if you download this file:
If you figure out a way to get rid of the extra tile row bug let me know.
One last thing. Please don't steal the tiles used in this example. I made them myself and plan to use them.
A tip on making this faster: Only redraw the surface if the mouse has changed position or the objects has moved. I did not include this in the example for simplicity (nah I'm just lazy - check next version)
Also, I figured out what was wrong with the isometric one - I needed to sort the tiles by y in the room editor. Expect an update anytime soon...
Comments are currently disabled on games.