如何在texturepacker中制作图像以在corona中用于精灵
嘿,我是 Corona 的初学者...如何在纹理打包器中制作图像以在 Corona 中用于精灵... 我已经尝试过,但它会同时播放所有图像......
hey m beginner to corona...how to make image in texturepacker to use in corona for sprites...
i have tried but it plays the all the images at once ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该更好地解释您的问题,因为仅仅说“同时播放”是模糊的,但与此同时,这里有关于 spritesheets 的文档,以防您还没有看到这一点: http://developer.anscamobile.com/reference/sprite-sheets
听起来您可能没有制作单独的动画序列,因此所有帧都在作为一个连续序列播放。查找命令 sprite.newSpriteSet() 和 sprite.add() 来处理排序。
You should explain your problem better because just saying "plays all at once" is vague, but in the meantime here's the documentation about spritesheets in case you haven't seen this: http://developer.anscamobile.com/reference/sprite-sheets
It sounds like you may not have made separate animation sequences and so all the frames are being played as one continuous sequence. Look for the commands sprite.newSpriteSet() and sprite.add() to handle the sequencing.