deezaster

  • 25 lug 2022
  • Si è iscritto 10 mag 2022
  • Mario ha scritto

    Look what objects are keyed in your second screenshot. It's the AnimationPlayers beneath the SpineAnimationTracks, not the SpineAnimationTracks.

    Yabadabadoooh. I know what the problem is.
    When I add an AnimationPlayer for a SpineAnimationTrack, the display in the Animation Editor remains empty:

    I have to close the scene and open it again.
    I discovered this by accident this morning. After I opened the project, all the entries I wanted were there.

    Is this a Godot problem?

  • Mario ha scritto

    Cheers! Issues 2 and 3 are likely due to the fact, that the build generated by setup.bat/.sh is a minimal editor buildmwith many modules disabled. I do this so iteratiom times on recompiles while working on the code are minimal. When we publish editor builds, they'll have all the default modules that come with Godot. You can fix this locally if you remove all lines from custom.py and recompile the engine/editor via setup.sh/.bat (build.sh/.bat will not work, as setup.sh/.bat configures the build).

    Issue 3 "GDScript Language Server" solved! :yes:

    Issue 2 "Search Help" NOT solved. Godot still crashes :no:


    Mario ha scritto

    Issue 1 is a documentation problem 🙂 You don't want to create a track the SpineAnimatiomTrack in the animatiom editor, but the AnimationPlayer child of the track. Sadly, Godot's AnimationPlayer and editor don't allow custom track types, so this is a workaround. As a bonus you see the animation durations and names tho, which is MUCH better then only seeing a little diamond for a key.

    Unfortunately, your explanation did not help me. Perhaps I have expressed myself unclearly.

    How did you manage the following? animation_name and loop do not appear in the selection. I tried to enter the entries manually, but of course it doesn't work.

    Finally, in another AnimationPlayer, I want to put together the individual animations:

    • In AnimationPlayer Node I click on "Add Track > Property Track", choose the SpineAnimationTrack, but i can't see the properties "animation_name" or "loop" (like used in example 08-animation-player)
    • When I click on "Search Help" (Reference documentation in Script Tab), Godot crashes.
    • The External Editor (Visual Studio code with godot-tools extension) cannot connect to the GDScript Language Server.

    I build on my Mac with "./setup.sh 3.4".

  • It works almost perfectly. I am eagerly waiting for the "Export Templates".