By jlnr (dev)
Date 2012-05-03 06:37
Idea: You could hack the scale factor right into Gosu::Image by subclassing ImageData and just returning half the width and height. You cannot extend the constructor of Gosu::Image, but you could add a global helper function for that. Then image("foo")
would return a Gosu::Image proper.
You might even want to consider having foo.png, foo@2x.png (iPhone4+, iPad 1/2), foo@4x.png (iPad 3) depending on how your game scales up. That is what I am going to do with Terava.