【发布时间】:2023-03-27 15:17:01
【问题描述】:
从昨天开始,我是 pygame 的新手,在尝试将任何内容粘贴到屏幕上时,我一直遇到这个问题。我正在运行 mac osx 10.6.8。我在 textwrangler 中全部写出来,并在终端中使用python2.7-32 filename.py 执行它
Traceback (most recent call last):
File "adventure.py", line 35, in <module>
screen.blit(background(0, 0))
TypeError: 'pygame.Surface' object is not callable
【问题讨论】: