RapidRailsGirls / carpet-diem

MIT License
2 stars 1 forks source link

Improve collision detection #7

Open sferik opened 10 years ago

sferik commented 10 years ago

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.