window.scale(scale_x,scale_y) do
#drawing code
end
scale
, rotate
etc. return a transformation matrix (Gosu::Transform
, actually an array of double
). You actually want to call Graphics::pushTransform(const Transform&)
to apply a transformation, then Graphics::popTransform()
when you're done with it.Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill