为什么SpriteKit坐标系在垂直轴方向上与UIKit坐标系不同?

时间:2017-08-10 08:56:40

标签: ios sprite-kit uikit coordinate-systems

SpriteKit中,默认坐标系的原点位于绘图区域的左下方。

UIKit中,默认坐标系的原点位于绘图区域的左上角。

我熟悉UIKit,但对SpriteKit是新手。所以每次使用SpriteKit的坐标系时我都很困惑。

我知道有一些解决方案可以“翻转”SpriteKit的坐标系。但是,我仍然不知道造成这种差异的原因。

换句话说,为什么不为所有人使用标准坐标系?

enter image description here

0 个答案:

没有答案
相关问题