Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility with Node2D types #87

Open
AnidemDex opened this issue Apr 21, 2022 · 0 comments
Open

Add compatibility with Node2D types #87

AnidemDex opened this issue Apr 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@AnidemDex
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant