viniciusgerevini / godot-clyde-dialogue

Clyde Dialogue Language Importer and interpreter for Godot.
MIT License
89 stars 11 forks source link

Dialogue lines not processed? #32

Closed K-l6408 closed 7 months ago

K-l6408 commented 7 months ago

I'm trying to start dialogue starting only from blocks. Ðe first test I made looked like ðis:

notshown
== BlockName
line0
char:       line1
char:       line2
char:       line3
* a
    char:   line4a
* b
    char:   line4b

However, whenever i call start("BlockName") ðe only þing ðat loads is a node representing ðe block wið empty contents. Am I doing someþing wrong?

viniciusgerevini commented 7 months ago

Hello @K-l6408 . I've copied your example and I don't see any issues. Can you give me more info about your issue? Which Godot version and operational system are you using? Also, if you could provide the script you are using to run this dialogue or a sample project it would be great.

K-l6408 commented 7 months ago

I'm using version 4.2 on Linux. Ðe code I wrote is just ðis:

extends Panel

var CD := ClydeDialogue.new()

func start(file, block):
    CD.load_dialogue(file)
    show()
    CD.start(block)
    next_dialogue_line()

func next_dialogue_line():
    var Line = CD.get_content()
    pass

calling wið ðe correct file and block, it also doesn't work.

K-l6408 commented 7 months ago

…oh.

apparently i just had to reload ðe project.

nevermind.