Answer the question
In order to leave comments, you need to log in
Python 3.8 PyGame library, how to assign a color to a variable?
In my piece of game code, it is necessary to assign a color value to a variable in the class, i.e. :
clr = pygame.color(255, 255, 255) The
question is how to do this?
Python 3.8.10
PyGame 2.0.2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question