lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
527 stars 191 forks source link

Colour names in popular book do not work #272

Open lordmauve opened 2 years ago

lordmauve commented 2 years ago

In Computer Coding Python Games for Kids there is a large 2 page list of all colors you can use in pgzero with there names to use in pgzero. The only problem is most of the names do not work at all in pgzero when it asks you to try them. I don't know again if this is the publisher writing a book and never trying it. Or if this did work on older versions. This was my whole adventure with this. Should be super simple but it also may or may not work and ends up being incredibly frustrating.

Originally posted by @JeremiahCheatham in https://github.com/lordmauve/pgzero/issues/267#issuecomment-989914883

lordmauve commented 2 years ago

@JeremiahCheatham What is the ISBN of the book?

lordmauve commented 2 years ago

The colours supported by PyGame are listed here: https://github.com/pygame/pygame/blob/main/src_py/colordict.py