Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Unitialized Constant Gosu::Button::KbPause
- By ? Date 2010-03-15 18:29
I get an Unitialized Constant Gosu::Button::KbPause error whenever I use Gosu::Button::KbPause for a reason that I don't know, I can use any other button constant and it will be fine, just the KbPause one, anyone know a cause? Thanks in advance, ell. Oh and also, how does one delete an unneeded topic? or request for one to be deleted?

Thanks again, ell.
- By jlnr (dev) Date 2010-03-16 02:48 Edited 2010-03-16 02:51
Hi, it's beyond me how the KbPause constant slipped into the rdoc. Apparently it's not available on either of the three platforms. Sorry.

The old rationale for Gosu buttons was that they should be available on all platforms to be included. Since many computers come without a Pause key, I removed it a long long time ago. I think it would fit the Gosu ideal better though if I would just trust the user to do the right thing and support both KbPause some other method.

On a related note, please start to use Gosu::KbXXX, the Button submodule has been deprecated recently :)
- By ? Date 2010-03-16 16:42
Oh okay, I don't need the KbPause, I was just using it for an input system! Thanks, you'v been very helpfull!
Up Topic Gosu / Gosu Exchange / Unitialized Constant Gosu::Button::KbPause

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill