Python小百 发表于 2018-6-15 12:00:15

飞船项目

各位哥哥姐姐麻烦帮忙看一下这个错误,我找了很久都没找出来,揪心。

alltolove 发表于 2018-6-15 12:22:55

你18行ship=Ship(ai_settings,screen)里面两个参数写反了,变成ship=Ship(screen,ai_settings)就行了

Python小百 发表于 2018-6-15 12:43:00

alltolove 发表于 2018-6-15 12:22
你18行ship=Ship(ai_settings,screen)里面两个参数写反了,变成ship=Ship(screen,ai_settings)就行了

改了,不行哎

hkz 发表于 2018-6-15 13:07:29

库都安装了没

Python小百 发表于 2018-6-16 08:47:42

按了
页: [1]
查看完整版本: 飞船项目