AnidemDex / AnidemDex/Godot-DialogPlugin

Add compatibility with Node2D types

Offen
#87 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
GDScript
Sterne
215
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.