Is it possible to set the framerate to a constant 60? With vsync=False and 
schedule_interval cocos will show semi consistent fps on an idle window, 
although the fps will be more than what I set it to. For example setting 
pyglet.clock.set_fps_limit(60) will show about 140 fps.

However, if I move the mouse around just a little, the fps will go up to 
some crazy amount around 400, also CPU usage will increase dramatically.

On the other hand, with vsync=True the showFPS will be 30 regardless of 
what I set pyglet.clock.set_fps_limit to. When I use update(dt):print dt it 
seems to suggest that schedule_interval indeed updates the program as often 
as I set it to.

So my questions are: Is the FPS clock an accurate and/or meaningful 
measure? and is there a way to set it to some reasonable and constant 
amount higher than 30?

I use pyglet 1.1.4 with cocos 0.5.5, python2.7.5 32bit. (it's the only 
combination I could get to work for some reason)

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to