pygame-How do I check if there is collision with any rect in an array?

后端 未结 0 1497
悲哀的现实
悲哀的现实 2021-01-27 09:48

I have an array of Box objects that each have a rect attribute. I\'m trying to check if my player collides with any of the rects in the array. The way it\'s working now, the l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题