High CPU usage on Pong clone
Posted
by
max
on Game Development
See other posts from Game Development
or by max
Published on 2012-10-22T11:11:53Z
Indexed on
2012/10/22
11:19 UTC
Read the original article
Hit count: 288
I just made my first game, a clone of Pong, using OpenGL and C++. But its using ~50% of the CPU, which I guess is very high for a game like this. How can I improve that? Can you please look up my code and tell me what all things I am doing wrong? Any feedback is welcome.
Also it would be extremely helpful if you give some general points on how to develop games in OpenGL efficiently..
Thanks in advance!
© Game Development or respective owner