【发布时间】:2019-01-16 17:47:15
【问题描述】:
我想获取一个像素的颜色值。我读过一些关于名为“pygame.Surface.get_at()”的函数。但是当我使用这个函数时,我得到了这个错误:
Traceback (most recent call last):
pygame.Surface.get_at(300, 200)
TypeError: descriptor 'get_at' requires a 'pygame.Surface' object but received a 'int'
【问题讨论】: