master
image manipulation tool for ruby and gosu — Read more
When performing a flood fill with a texture (or a color) that is the same as the 'start color' the flood fill algorithm hangs.
current work-around is to use a color_control block to slightly modify the filling color to one that is a bit different. e.g
fill 10, 20, :texture => image, :color_control => proc do |c1, c2| if c1 == c2 c2[3] = (c2[3] + 0.01) % 1 end end
for low res desktops
this will be fixed soon with the 0.7.16 release of Gosu
current work-around is to use a color_control block to slightly modify the filling color to one that is a bit different. e.g