Original Post
Hello,
I know there has been discussions before about fast rendering, but I really am stuck with this problem. My isometric engine doesn''t have many features:
* 640x480@16b resolution
* 32x16, 64x32, 128x64 sized tiles
* animated/non-animated sprites (any size)
* 4 tile and sprite layers
* 6 map layers
My puter is AMD Duron 600 with 128mb RAM, "powered" by Matrox G400. Well, I''m drawing a simple map with only one layer. There are trees and people. Well, the average framerate runs somewhere between 38-42. That just sucks!!! What am I doing wrong here? I need light effects and other fun stuff, but I can''t even imagine adding those when a simple map like this gives me bad vibes.
The engine is very simple. It just runs through y and x loop and blits the tiles and sprites accordingly. Only the tiles which can be seen on screen are drawn. But why so low framerate?
I''m developing using SDL. This can''t be the problem now can it?
Well anyway, it would be really awesome if someone would write an article about optimizing isometric engines. I have no idea how to do this. Is there a way to update just the parts of the map that need updating?
Please, give looser a helping hand here.
Thank you!
saeZ