Skip to content

Add compatibility with Node2D types #87

@AnidemDex

Description

@AnidemDex

Describe the project you are working on

Textalog

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

There's no compatibility with Control nodes and Node2D because Control doesn't know what a Transform is and Node2D doesn't know what a Rect is, but, what if portrait manager can hold a reference for an arbitrary Node2D nodes in scenes
and the portrait manager uses those to generate Sprite/AnimatedSprite.

With this in mind, Character event can have a "reference position" property, wich points to a node (Control or Node2D type) wich uses as reference to generate the portrait node (and the portrait node can be a Control or a Node2D type)

Adittional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions