My SDL game lags (cant seem to resolve this)

I have been programming this game and ever since I put sound in the game using the mixer library it kind of lags. Of course I figured that the sound might of been the problem since I think the problem happened when I inserted sound into the equasion but now i'm not sure. I noted out all Mixer sound and tried the game again after recompilation and no success. It still kind of lagged. I figured its when I move along the screen it lags because of SDL_Flip or a custom blit draw function. I'm not sure anymore. Anyway, I wont discuss more of this right now. I will write a better thread post later but for now you could view the source code at:

bye and thanks,


Reach me at:

AIM IM: kc2keo

Pri. Homepage:
Alt. Homepage:
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!