<aside>
Notes:
Moveable represents any game object that has the ability to move about the gamespace. All Moveables have a T (transform) that describes their desired transform in game units, as well as a VT (Visible Transform) that eases to T over time. This allows for simplified movement where we only need to set T.x, T.y, etc. to their final position and the engine will ensure the Moveable VT eases to that final location, regardless of any events or timing.
Moveable 用于表示能够在游戏空间中移动的游戏对象。VT 会缓动到 T,不受事件和时间影响(例如一个新的弹出窗口出来,它会继续缓动到目标位置为止)。
</aside>
| Data | Description | Key Properties |
|---|---|---|
| T (Transform) | Target or Final position | x, y, w, h, r, scale |
| VT (Visual Transform) | Current position | x, y, w, h, r, scale |
| velocity | Movement tracking | x, y, r, scale, mag |
| role | 减少冗余计算, Major 正常计算(每一帧重新计算), Minor 在 Major 的基础上附加偏移 (offset) | |
| alignment | Relative positioning | type, offset |
| parallax | Visual depth effects | shadow_parrallax, layered_parallax |
| pinch | 捏挤压的效果 | x = false, y = false |

When you want to move an object, you simply set its target transform (T), and the system automatically:
This approach enables smooth, animation-like movement without requiring complex animation code for each object.
如何对齐的(alignment)?

