Does setting an FPS limit work in 1.2alpha? I have a cocos2d app and it runs about 40fps normally, but when the window gets covered by another window, the fps jumps up to 200fps and it starts using a lot of CPU. I don't like that CPU usage so I'm trying to set a max framerate of 30. But none of these calls seem to do anything, i.e framerates will still be about 45 when showing, and 200 when the window is obscured:
pyglet.clock.set_fps_limit(30.0)
pyglet.clock.get_default().set_fps_limit(30)
cocos.director.event_loop.clock.set_fps_limit(30)
Running Mac OS X 10.8.2
Winston Wolff
Stratolab - Games for Learning
tel:
(917) 543 8852
web:
www.stratolab.com