enable_undocumented_retrofication
method - just once, preferably on program start.
require 'gosu'
class GameWindow < Gosu::Window
def initialize
super(640, 480, false)
self.caption = "Retro test"
enable_undocumented_retrofication ### <-- Insert this method here?
@img = Gosu::Image.new(self, "test.png", false)
end
def update
end
def draw
@img.draw(0, 0, 0, 10.0, 10.0)
end
end
GameWindow.new.show
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill