Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我设法创建了一个 SKspritenode,让它四处移动,虽然我想改变节点经过的每个 CGPOINT 的颜色。
无论如何要这样做?
使用CGShapeNode绘制由节点通过的 CGPoints 组成的路径。
有关从点创建路径的方向,请查看此问题的答案