 |
|
|
Scene.org is hosted and supported by:
|
|
|
Scene.org is sponsored by:
|
|
|
|
|
 |
forum - #coders |
|
 | | Topic: | Demo Coding with Dev-C++ and SDL | | | I am just starting out learning to code demos in SDL. I am concentrating on learning 2D effects first of all and then once I have done some demos with them and I understand them I will move on to openGL.
The problem I am having at the minute is that as soon as I try to do anything at the pixel level (Like a lot of 2D effects need to do) I find that the frame rate drops. Does anyone know of any methods to keep the frame rate up when dealing with drawing pixels.
I am experimenting with using a large array that I draw all my effects to and then only when I want to draw to the screen do I then draw the pixels to the screen (And yes I only draw those pixels that have changed since the last frame). | | |
| Thanks. Those sites are userful.
I have already made a few improvements but I am always looking for more ways to improve the performance. | | |
|
|
|