In pygame, I am trying to make a ball disappear when it hits one of my images, I would like sprites not to be used because I have not learned them

后端 未结 0 940
忘了有多久
忘了有多久 2020-12-16 06:34
AttackDistance = math.sqrt((FFxpos - xpos)**2 + (FFypos - ypos)**2)
if AttackDistance < 50:
    ball.erase()

This is what I so far have for makin

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