]
# initialize all pygame modules (some need initialization) # createa pygame display window # set the title of the display windowpygame.display.set_caption('Memory')
我目前正在开发一个python 3.7.2版本的pygame游戏。当我运行我的程序时,我得到一个奇怪的错误:这是完整的回溯: hello from the 1st lign of this code :DHello from the pygame:D')spb = time.time()
import os, sys
os.environ['SDL_VIDEO_CENTER
我正在尝试做一个游戏pygame library.But有一个错误。我看了一些论坛,但我什么都看不到。如果能帮到我,我会很高兴。PycharmProjects/zaxd/main.py", line 34, in <module>TypeError: pygame.Surfaceobject is not callable ‘导入pygame # Initialize library