SDL - Too slow

Started by
36 comments, last by 23yrold3yrold 19 years, 1 month ago
Quote:Original post by NighTiger
You don't understand!
It's impossible that with only 3 surface you have something less 120 fps.

Anyway tnx for your "advice"

This is childish and you'll probably see no more help. Not only that but this statement is 100% incorrect. It proves you do not know how to program so start with the basics.
- A momentary maniac with casual delusions.
Advertisement
Quote:Original post by NighTiger
You don't understand!
It's impossible that with only 3 surface you have something less 120 fps.

Anyway tnx for your "advice"


100% untrue, and i have noted, you havent even posted your code, so i guess you think programmers can read your mind for the code?
Quote:Original post by NighTiger
You don't understand!
It's impossible that with only 3 surface you have something less 120 fps.

Anyway tnx for your "advice"


I'm sorry, friend, but you seem to be mistaken.

Its all about how fast your code goes.
If you seriously stuff up, then it goes slow.

From,
Nice coder
Click here to patch the mozilla IDN exploit, or click Here then type in Network.enableidn and set its value to false. Restart the browser for the patches to work.
Quote:Original post by Think128
Your orignal code has a surface called 'screen' that is 640x480x32. I was just curious how that fit into the program.


"screen" is the traditional SDL name for the framebuffer.
Quote:Original post by Ravuya
"screen" is the traditional SDL name for the framebuffer.


Which I might add, you can also just use SDL_GetVideoSurface so you do not have to pass that variable around or have a global variable.
Quote:Original post by NighTiger
You don't understand!
It's impossible that with only 3 surface you have something less 120 fps.

Anyway tnx for your "advice"

It is not impossible but most likely. You fallen into the same trap as most people when it comes to analysing FPS. Check out FPS Vs Frame Time by Robert Dunlop.
Quote:Original post by Easca
It is not impossible but most likely. You fallen into the same trap as most people when it comes to analysing FPS. Check out FPS Vs Frame Time by Robert Dunlop.


thank you I going to read it
Quote:Original post by Simian Man
When will people stop bashing SDL for being slow just because they don't know how to use it? It seems like there's always a post in this forum where somebody is saying SDL is too slow and then it comes to light that they're loading their surfaces once per frame or somthing. SDL is not OpenGl fast, but if you have a pathetic FPS for a simple game, the chances are very good you're doing somthing wrong

He's was quite aware of that fact (see second last line of the post); just because he says it's slow for him (and it is) doesn't mean he's bashing SDL. [rolleyes]
And just for preference, could we veer away from comments like "This is childish" and "Just stop being lazy"? Thanks.

To the original poster: it might help if you posted more of your game initialization and main game loop so we can talk specifics ...

Jesus saves ... the rest of you take 2d4 fire damage.

This topic is closed to new replies.

Advertisement