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.
我有一些图像容器,其中包含很多图像(10-100)。其中一些容器(精灵)不在屏幕上,但已加载和添加。通过箭头键,我在相应的方向上开始补间。当容器第一次出现在屏幕上时,补间总是不平滑(绊倒)。如何获得平滑的补间?
mySpriteContainer.cacheAsBitmap = true; -> 解决了我的问题