For some reason, none of my Gosu::Image(s) will draw under certain circumstances and I have no idea why. I beleive it is something to do with my loading function. Here are my ResourceBatch(
http://pastebin.com/KqjB2fVA) and Resource(
http://pastebin.com/vFiNM9xf) classes. To get a resource one simply needs to $game.resources[name_of_resource].
In my test scenes, drawing will work fine if the image is used on the first scene, for example:
class FirstScene < Blocks::SceneBase
def draw
$game.resources["Media/TestImage.png"].draw(0,0,0) #this will always work
end
end
class NextScene < Blocks::SceneBase
def draw
$game.resources["Media/TestImage.png"].draw(0,0,0) #this will only work if the image has been used on FirstScene
end
end
Sorry if I haven't provided enough information and thanks in advance! ell.