【发布时间】:2016-02-28 10:37:27
【问题描述】:
我正在关注一个在线教程,为 pygame 创建一个按钮。
textSurf,textRect = smallfont.render(msg,color,size)
我昨天刚开始学习 pygame。
我遇到了一个错误,指出"Type Error: Integer is require"。这是什么意思?有人可以帮帮我吗?
错误位于textSurf,textRect = smallfont.render(msg,color,size)
【问题讨论】:
标签: python python-2.7 pygame