You should improve collision detection to be pixel-perfect, taking into consideration the transparent background of the lamps, genies, and carpet. To do this, you can use the transparent_pixel? method on Gosu::Image. This requires a library called texplay.
You should improve collision detection to be pixel-perfect, taking into consideration the transparent background of the lamps, genies, and carpet. To do this, you can use the
transparent_pixel?
method onGosu::Image
. This requires a library calledtexplay
.