Hello everyone.

I am working on a little Tile-Engine, drawing PNG-Sprites on a surface. Since 
I switched to a higher screen-resolution and draw more little sprites, and 
draw backgrounds, the whole thing is getting much too slow. Most sprites have 
transparent parts, and also the background-images are overlapping.

It seems like it doesnt matter if I draw many little or some huge graphics on 
the screen, both seems to be slow.

I can change parts of the program, but I actually dont know what the problem 
is. The program is fast enough if I just draw rectangles (for testing), but 
as soon as I draw surfaces, it isnt anymore.

I am already trying to prevent anything outside the screen to be drawn 
(because it is invisible anyway), and to put things being directly next to 
each other into the same surfaces which I have to blit, but this doesnt 
really help.

I read that one has to use OpenGL also to enhance the Speed of 2d graphics. I 
neither know how to do this with lispbuilder-sdl, nore if this is true.

Do you have any suggestions for me to get my graphic faster?

Regards,
Christoph Senjak
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to