Luo Zhihao

Results 16 comments of Luo Zhihao

I test this on the master. #72012 is fixed, but I still cannot rename any node.

>May I ask what distro and what desktop environment do you use? (what did you use for test?) > I also use KDE Plasma on Ubuntu 22.04

Thanks for your guide. I have changed it to inherit Texture2D. Now in editor it display Lottie normally, but when running the game it's empty. I don't find the reason.

> I was stuck, I suspect we need to use the resource importer system that takes json and gives a LottieTexture2D Don't open json directly. Create a LottieTexture2D and add...

I'm not very familiar with custom resource. I still can't understan why using code to set this texture works: ```gdscript texture=LottieTexture2D.create_from_string(FileAccess.get_file_as_string("res://lottie.json"),1.0) ``` ~~But setting the texture in editor doesn't work...

The common use case of Lottie is UI or other short duration animation, where `AnimatedTexture` is convenient. We can add a resource loader to import Lottie as `AnimatedTexture` ( I...

https://github.com/Zylann/godot_voxel/blob/30b8d6307e3159d5118c7dc7db2fa4f2bd21e6f9/util/godot/classes/editor_import_plugin.h#L94 I guess the reason is `get_import_order` isn't implemented. The error is from: https://github.com/godotengine/godot/blob/4ce5e261b31566f06b457f402488b6a26baa7fd1/editor/import/editor_import_plugin.cpp#L112

Godot editor gets stuck sometimes, especially when `frame_count` is high or there are multiple lottie files in the project, may because of ThorVG 0.13.2. Tried ThorVG 0.12.10, it's stuck too,...

> @beicause @hermet Is there a test project I can send to help ThorVG debug this? [thorvg_test.zip](https://github.com/godotengine/godot/files/15264333/thorvg_test.zip)

I think it's easier to use it in `AnimationSprite2D`/`SpriteFrames` by generating multiple frames at the same time. And if you just want one frame, you can set `frame_count` to 1...