I find that for a robust dialogue/cutscene system, you basically have to implement your own scripting language *on top* of godot, and some sort of cutscene processor that can execute your script line by line, doing logical stuff like waiting until a message is done displaying until the next one is displayed, waiting to evaluate an if-statement until it actually gets to that line of the script instead of immediately when the script starts, etc. etc. Game objects also need to know whether the cutscene system is busy, so that for example you don't get attacked in the middle of a conversation. It's a pain and I wind up reimplementing it from scratch for each project, because each project has different requirements.
@Here_is_Waldo6 ай бұрын
Oh, good. I'm glad that's a common problem and it's not me just making things overly complicated.
@theapexsurvivor9538 Жыл бұрын
Hmmm, seems like you'd probably need to make a scriptable object or something for the textbox and have entities that are interacted with send info to it. That way you only ever need to build one of any given function into the textbox and instead just have a node you attach to each character that has some variables you can tweak and some space for lines of dialogue. Also means it's a bit easier to implement multiple sets of dialogue. You'll probably want to make all the dialogue variables global so that they can be easily used without a bunch of pain, just remember to have local variables in your characters to set the global ones to, and default ones in the dialogue system itself to set everything back to at the end of the conversation.
@jjonojj Жыл бұрын
W video, want more of this
@tobycollier Жыл бұрын
Cheers, will do
@rxsOwO Жыл бұрын
its too bad that you need to have submitted something to vote lol
@tobycollier Жыл бұрын
Oh, I didn't even realise lmao
@outragedfinn Жыл бұрын
Scalable and modular 🤔
@theredlionboy Жыл бұрын
i mean theres the dialogic plugin
@tobycollier Жыл бұрын
There's no way that's real
@hiiambarney4489 Жыл бұрын
There's not only one but multiple Dialog Plugins in the free asset lib @@tobycollier