A
A
andriamino2022-04-13 23:44:30
pygame
andriamino, 2022-04-13 23:44:30

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 question

Ask a Question

731 491 924 answers to any question