dialogic-godot / documentation

📖 The documentation for the Dialogic Godot plugin.
http://docs.dialogic.pro
16 stars 12 forks source link

"This is a fallback bubble" although I registered character #56

Closed NickHatBoecker closed 2 months ago

NickHatBoecker commented 2 months ago

I want to use the "Textbubble style" pointing to my player character. But although I registered the character via code, dialogic can't find it. I tried this in a complete new project with the following example code:

func _input(event: InputEvent) -> void:
    if event.is_action_pressed("ui_accept"):
        var layout = Dialogic.start('timeline')
        layout.register_character(
            load("res://character.dch"),
            $Player
        )

Created a timeline with one text element and a character with nothing but a name. Here is a sample project: dialogic-test.zip

Maybe I'm just too dumb and forgot something 🙈 But I would really like to work this out.

NickHatBoecker commented 2 months ago

I am indeed dumb. I had to explicitly select the character in the text event (This wasn't clear to me, because I already linked to the character.dch file) and even more, I posted this on the wrong repository 🙈 I'm so sorry!