Skip to content

Add keyframe icons to individual Vector components in the inspector when using the AnimationPlayer editor #12757

Open
@Chipsonium

Description

@Chipsonium

Describe the project you are working on

I'm making a top-down 2D game where most of the characters can face in 8 directions. And putting all the animations in an animation player is long and tedious, and would be even more difficult for people with more directions and animations for those directions.

Describe the problem or limitation you are having in your project

It takes a long time to create walking and idle animations for each direction separately using the $AnimationPlayer. If i try to make it simple by changing the x coordinate in the $AnimationPlayer and the y coordinate in code, it breaks, as the X and Y are linked and cannot be changed separately with the $Sprite2D.

Currently, Frame Coordinates in the animation player does the same thing as Frame, and I don't like that.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Separate the X and Y Frame Coordinates when using $AnimationPlayer, maybe add a Lock/Unlock just like the scale for people who want to just change the Frame Coordinates together.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Here's a mock-up design for my new design for the Frame Coordinates being separate:

Image

If this enhancement will not be used often, can it be worked around with a few lines of script?

I think it would be used very often, especially for people like me, creating top-down 2D games, as it makes things way easier to animate and code. And my only current solution is creating a new Sprite or adding a lot of unnecessary feeling animations.

Is there a reason why this should be core and not an add-on in the asset library?

This is giving a whole new purpose for the Frame Coordinates, and would make lots of lives easier. It definitely would help me and others.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions