Python Forum
[PyGame] Problem with colorkey
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Problem with colorkey
#3
The Sprite class is just a class that i created to store all the sprite of my game
it just store a dict that contain sprite name and Sprite and some classmethod to get a part of a sprite loaded in Sprite or the complete sprite, with some size

And I found a solution, after setting the surface's colorkey i just blit the surface onto itself, even it's not elegant that work
Reply


Messages In This Thread
Problem with colorkey - by Phidias618 - May-14-2023, 08:27 AM
RE: Problem with colorkey - by deanhystad - May-15-2023, 03:44 AM
RE: Problem with colorkey - by Phidias618 - May-15-2023, 06:14 PM
RE: Problem with colorkey - by Windspar - May-15-2023, 08:22 PM
RE: Problem with colorkey - by Nivea04365 - Jun-09-2023, 08:44 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020