Created
March 6, 2020 23:39
-
-
Save TaizWeb/8a4ec99098bc86229c721d209e830980 to your computer and use it in GitHub Desktop.
A short dialog sample for testgame_v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MM] | |
This is where I get off kid. | |
I'm supposed to speak a bit? | |
Each line is a box of dialog. | |
[MC] | |
And the box up top? | |
[MM] | |
It tells the program who's speaking. | |
The idea is that we split it by \n | |
Then we loop through | |
If it's a [], we load the portrait | |
If not, and the line ain't empty | |
We load the text into the box! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment