search for: tilemap

Displaying 1 result from an estimated 1 matches for "tilemap".

Did you mean: filemap
2010 Oct 29
0
Very slow blitting, trying to optimize.
...itting and I have to close and reopen the program for it to work again. I have attached the main drawing methods to this post. How it works: 1) I have a custom cache class that creates and retrieves bitmaps on demand to speed up things a bit. Used especially when using tiles, layers or the whole tilemap bitmap. All get_X_bitmap methods you see are used to retrieve bitmaps from cache. 2) The draw_layer and draw_tilemap methods have a rect argument. When not nil, only the region specified by this rect is redrawn. Again, this is to speed up the whole process. I did some basic speed test using the T...