• Advertisement

Archived

This topic is now archived and is closed to further replies.

Slowness Discouragement

This topic is 5559 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Why is it that as soon as my engine looks more and more like an engine, the speed gets slower and slower? I don''t mean like a few frames, I mean unplayable slowness. I''m using SDL, and I''ve seen pleanty of other fast games made with it. What should I do? Give up, start over, read a bunch of tutorals, or what?

Share this post


Link to post
Share on other sites
Advertisement
Use a profiler. Find which code is costing the most and why. If your seeing extremely drastic slowdowns, your architecture may not be appropriate (poor choice of containers, etc.)

Share this post


Link to post
Share on other sites
Make sure you''re using SDL_DisplayFormat properly. And use software surfaces everywhere unless you know exactly why I''m suggesting that, and that it won''t be a problem for you.

[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost | Asking Questions | Organising code files | My stuff ]

Share this post


Link to post
Share on other sites
Wow! After checking all my surfaces, and makeing the map SDL_SWSURFACE, it improoved the speed considerably THANKYOU!

Share this post


Link to post
Share on other sites

  • Advertisement