【发布时间】:2021-03-15 14:00:16
【问题描述】:
如何确定pygame.math.Vector2 对象的 x 和 y 坐标?
self.position = Vector2(x, y)
这是 Vector2 中 x 和 y 的输出:
[5,14.5]
【问题讨论】:
-
在不知道
Vector2()是什么的情况下很难提供帮助。 -
它是一个导入:from pygame.math import Vector2
标签: python vector pygame output coordinates