Original Post
Really a very simple question. In my 2D isometric game (please don't move this to that thread
), I draw all of the flat diamond shaped floor tiles before I draw anything else (to prevent moving objects from slipping under the corners). Anyway, it does seem like a huge waste to draw all of them as rectangles, since those 4 corners amount to 50% of the image, plus having to check for transparent pixels for every single pixel.
Would it be a good idea to hard code a specific blitting function and use it to manually treverse the pointers instead of using a loop? The only problem I can come up with is that it would look very ugly. Also clipping - I don't know how I could clip correctly with this method, unless I only use it for tiles that are completely on the screen. Any opinions on this?
[edited by - Jiia on November 1, 2002 11:48:13 PM]