AnidemDex / AnidemDex/Godot-DialogPlugin

Add compatibility with Node2D types

Aperta
#87 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
GDScript
Stelle
215
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.