Spritesheet动画是垂直的,而不是水平的

发布于 2025-01-24 11:02:12 字数 239 浏览 6 评论 0原文

我有一个我想在Godot游戏引擎中进行动画的精灵表,但我很烦恼,因为当我的精灵表的动画从上到下时,Godot使框架循环到左。我该如何解决?

I have a sprite sheet that I want to animate in Godot game engine but I bugs because Godot makes the frames cycle right to left when my sprite sheet has animations going from top to bottom. How do I fix this?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

瑾兮 2025-01-31 11:02:12

您可以将设置从编辑器

“”

在这里,我将Hframes设置为4 byt,您需要将Vframes设置为Spritesheet的垂直帧号码。就像您需要设置的方式和Hframes一样

you can change the settings from editor

Here i have set the Hframes to 4 byt you need to set the vframes to the vertical frames number from your spritesheet. In the same way you need to set and your hframes

怪我鬧 2025-01-31 11:02:12

您可以更改图片中所示的y的数量,这将修复它。

You can change the number of y as shown in your picture and that will fix it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文