Search Results
7/24/2025, 2:57:42 PM
6/29/2025, 10:08:31 PM
>>714013301
>>714013509
God, three nested if-clauses and a triple nested switch case is a strong code smell. And why is 'did we talk to Sad Terry?' a switch? That seems like True or False thing.
This is why for dialog heavy games you need to use some sort of custom encoding like
>Hey, How're you doing?
>q:[f:response_to_freds_question, good, bad]
>[good][e:smile] Nice! It's good to see you're doing well!
>[bad][e:frown] Oh, well I hope you feel better
>[bad][p:5]
>f:[killed_the_albetros][e:grim_face] Hey, I heard about that whole thing with the bird, don't let it get you down okay?
Then you have a parser that'll handle things like question prompts, marking flags, and handling branches.
There's also a bunch of visual scripting solutions that'll generate the stuff above from a DAG, but you can get a long way with just text.
>>714013509
God, three nested if-clauses and a triple nested switch case is a strong code smell. And why is 'did we talk to Sad Terry?' a switch? That seems like True or False thing.
This is why for dialog heavy games you need to use some sort of custom encoding like
>Hey, How're you doing?
>q:[f:response_to_freds_question, good, bad]
>[good][e:smile] Nice! It's good to see you're doing well!
>[bad][e:frown] Oh, well I hope you feel better
>[bad][p:5]
>f:[killed_the_albetros][e:grim_face] Hey, I heard about that whole thing with the bird, don't let it get you down okay?
Then you have a parser that'll handle things like question prompts, marking flags, and handling branches.
There's also a bunch of visual scripting solutions that'll generate the stuff above from a DAG, but you can get a long way with just text.
Page 1