15 years ago
Highlights
I tried to use SDL_WaitEvent but game style requires actualization don't matter player moves or not. To limit frames I used SDL_Delay. Game doesn't see to have any delay…
15 years ago
15 years ago
Hi everyone, I've done a simple spaceship game for a university work, and I noticed the game was taking more than 50% of CPU, is there any way to optimize SDL to make it fas…
15 years ago
15 years ago
As rip-off had suggested I used a profiler, the gprof in my code, it seems my code spends lots of time manipulating stl vectors. I use vectors to hold the shots, enemies, and pl…
15 years ago
Latest Activity
See all in DiscussionsI tried to use SDL_WaitEvent but game style requires actualization don't matter player moves or not. To limit frames I …
15 years ago
As rip-off had suggested I used a profiler, the gprof in my code, it seems my code spends lots of …
15 years ago
Thanks for answering me. Wooh: I use the functions from lazyfoo site, I'm almost sure it uses SDL_DisplayFormat, also they …
15 years ago