Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu 0.11.1 released

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to bestguigui
So :

adding "super" to my custom overloading of the Gosu#button_down(id) method works like a charm ! Now, it's possible to go from windowed to fullscreen mode using alt + enter without any problem.

Testing the gosu-examples works great. In fullscreen or windowed mode, the textures will display correctly.

All that leaves is that I did a mistake somewhere in my own code. Because if I use the shortcut, I'll go to fullscreen mode but without displayed textures. And then, if I go to windowed mode again, same thing : its displays without textures.

For the current project, I'm not using custom texture class, only Gosu::Image. So I just don't get it.

Example of project that doesn't work properly :

http://paste.awesom.eu/Hb5m&ln
http://bestguigui.free.fr/gosu/cube.rar

At first, no problem, it displays the texture. But then, it will just dissappear.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill