Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / update_interval
- By banister Date 2009-08-25 17:24
heya,

what exactly is the update_interval parameter to Gosu::Window#initialize and why is it set at 16.666 ?
- By AmIMeYet Date 2009-08-25 17:31 Edited 2009-08-25 17:33
From RDoc:
Interval in milliseconds between two calls to the update member function. The default means the game will run at 60 FPS, which is ideal on standard 60 Hz TFT screens.
So basically, the overall game speed.. you shouldn't need to change it

(Somehow CPPDoc only says the first part)
- By banister Date 2009-08-25 17:51
ah thanks...im just trying to ensure my game won't run like lightning on some computers and at a crawl on others :)
Up Topic Gosu / Gosu Exchange / update_interval

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill