Gosu::Image.newetc. (for 10 years!) - that has changed in Gosu 0.9, half a year ago.
Playerclass wanted to load images, and
windowreference. That is not the case in Gosu 0.9+.
$windowthroughout your app, and set it in
YourWindowClass#initialize(right after the super call). You could also use the
Singletonmodule from the Ruby standard library, but I am not sure if it has any practical advantage over a global variable.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill