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.
在创建这个时需要帮助,我还没有代码,但我的想法是复制原始精灵,然后将复制的精灵放入一个待迭代的列表中,然后每当精灵碰撞时我会调用精灵的迭代副本,还有如何在碰撞时改变精灵图像的建议?
您可以AnimatedSprite用于碰撞检查。当发生碰撞时,只需改变tiledIndex图像即可。
AnimatedSprite
tiledIndex