play
play copied to clipboard
Question: how can I make rotated image bounding box trasnparent?
This is what I am getting on windows 10 and with replit-play v0.0.23
Commenting out this line fixes the issue for me. But I am curious if this works on other platforms. and if so why it is needed?
I also have the same problem, which is caused by rotating the image. macOS 10.15 and with replit-play v0.0.23
I have found a solution,play.py needs to be modified,line 419,self._primary_pygame_surface,need to use convert_alpha(),replace the following set_colorkey method to set_alpha and set the value of alpha to 0.Hope to be helpful to others.