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.
有没有办法在影片剪辑/精灵上应用 PixelSnapping 而不仅仅是位图?将它们缓存为位图无济于事。有什么诀窍吗?
如果它在运动期间,您可以尝试使用TweenLite之类的补间引擎,该引擎具有在运动期间舍入您的项目的修改属性的属性。
如果您只是想获得类似的圆形位置,您可以在修改它们时尝试手动对属性进行四舍五入:
myClip.x = Math.round(myClip.x);
要不就
myClip.x = int(myClip.x)