如何解决此弃用警告
DeprecationWarning:需要一个整数(got类型为float)。
int
不建议使用隐式转换为整数,并且在将来的Python版本中可能会删除隐式转换。
win.blit(playerStand, (x, y))
DeprecationWarning:需要一个整数(got类型为float)。
int
不建议使用隐式转换为整数,并且在将来的Python版本中可能会删除隐式转换。
win.blit(walkLeft[animCount // 5], (x, y))