图像精灵就像地球围绕着太阳这样旋转的,代码怎么写

请问各位大神,图像精灵就像地球围绕着太阳这样旋转的,代码怎么写

First look here-

She wants to show an image sprite revolving, like Earth.

真的没人知道吗?图像精灵就像地球围绕着太阳这样旋转的,代码怎么写

I don't know about the image sprite, but have you tried using GIFs?

For that you can also try -

If you have the related pictures

谢了,我看下可以实现没

Is this the effect you want?

sun2.aia (3.8 MB)

1 Like

我要的就是这张gif图片这样的效果,小哥哥能不能把代码转成中文给我,谢 了

Try one of these 3 blocks (all should work, but the second only with Companion):

Apart from the circular motion, the earth also rotates. In the first post you wrote about the sprite and not about the gif file, so before asking next time, think about what you need.

There are only 2 slashes with the TaifunTools.PathToAssets method.
@Taifun

grafik

And I get this error on Android 11:

grafik

thank you, this is now fixed in Version 21a
Taifun

1 Like

你要写个圆的路径函数


圆心150,150,R=100