hey,
I fixed the issue with refresh_cache in the new (0.1.4) release of TexPlay. I also added some useful error messages for when you encounter the quirk with gl_tex_info (fixed in Gosu 0.7.13.4 ?)
also added a few more methods and constants:
* TexPlay#quad_cached? - returns true if the quad the texture is located on has already been cached
* TexPlay::TP_MAX_QUAD_SIZE - returns the sidelength of the largest quad that can be allocated. (taken directly from max_texture_size() method in Gosu's Texture.cpp)
You can get the new TexPlay 0.1.4 binaries and source from here:
http://code.google.com/p/texplay/downloads/list?saved=1&ts=1244477834Note: It is better to use TexPlay with versions of Gosu that do not have the quirk in gl_tex_info or you may be limited to a texture size of 254 x 254
banister