| 
 | 
 
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册  
 
x
 
 本帖最后由 lzb1001 于 2022-11-2 00:26 编辑  
 
有时碰撞后返回结果: 
pygame 2.1.2 (SDL 2.0.18, Python 3.7.6) 
Hello from the pygame community. https://www.pygame.org/contribute.html 
90 
1 
90 
1 
87 
2 
87 
2 
84 
3 
84 
3 
81 
0 
81 
0 
Game Over! 
 
有时碰撞后返回结果: 
======================== RESTART: D:\work\经典飞机大战\main.py ======================= 
pygame 2.1.2 (SDL 2.0.18, Python 3.7.6) 
Hello from the pygame community. https://www.pygame.org/contribute.html 
60 
1 
57 
1 
57 
2 
54 
2 
54 
3 
51 
3 
51 
0 
Game Over! 
 
我的疑问: 
 
为何有时碰撞返回结果敌方小飞机和我方飞机的返回值都是一对一匹配,而有时碰撞返回结果其中有一方飞机好像多了一组返回值? |   
 
 
 
 |