I don't know how to express this question. Great gods come in and have a look. Thank you

Godot Version

Replace this line with your Godot version

Hey, great gods from all over the world, novice want to ask some questions, and please help ,As shown in the figure, the first picture is something I haven’t improved. It returns to standby action at the first frame of the animation, that is, idle.

The second picture is improved. It plays the animation after making a bonfire well, but problems also follow.I put _physics_procsee(false) to play the animation completely, but after I put _physics_process(true), it will return to the original effect, that is, it will return to the standby state immediately after playing the animation. I want the player to click back and let the animation play backwards when sitting down. When returning to the standby animation, it will be similar to the effect of the dark soul and the Elden ring animated_sprite.play_backwards(“gouhuo”),If await animated _ sprite . animation _ finished If you delete the following set_physics_process(true) and execute the game, it will get stuck after sitting down on the bonfire,My English is not good, and some translations may be inaccurate. I hope you will forgive me.

I do not understand your question. Please do the following:

  • Copy all of your code as text and paste it with correct formatting. Add these three symbols before and after your code to preserve formatting: ```
  • Provide a picture of your scene tree.
  • Provide an overview of the error messages you get. (Click on the yellow and red text at the bottom of the Godot editor window.)
  • If possible, include a short video of what the code you posted does.

It is almost impossible to understand what the code as shown in your screenshots does because it is incomplete. Also, this might be a due to a language barrier, but as I understand it right now you altered the code in between taking screenshots. Please only include the code as its exists currently.

此消息是通过翻译网站翻译的。

我不明白您的问题。请执行以下操作:

  • 将您的所有代码复制为文本,并以正确的格式粘贴。请在代码前后添加以下三个符号以保留格式:```
  • 提供场景树的图片
  • 提供您收到的错误消息概述。(点击 Godot 编辑器窗口底部的黄色和红色文本。)
  • 如果可能,请附上一段短视频,展示您发布的代码的功能。

由于您的屏幕截图中显示的代码不完整,几乎无法理解其功能。此外,这可能是由于语言障碍造成的,但据我目前了解,您在截屏过程中修改了代码。请仅提供当前存在的代码。

虽然我不太确定,但我认为这个网站上的所有帖子不一定都必须用英文。用其他语言解释你的问题会更容易吗?

1 Like

哇,您好专业呀,一看就是大神,我现在在外面吃饭,不方便截图和视频提供