I'm making a Visual Novel and I've come across an error in the code for the speech from the main character. Here is the code which I've tried using.
chapter1 = {
label, "chapter1"
text, {
value: "Ughhhh",
speaker: "Me",
append: false,
align: "left"
},
];
Can I ask what I'm doing wrong or what I'm missing? And also, I've checked it out and it says that the unexpected identifier is the text, {
part of the code
I think this is the format you're looking for:
chapter1 = {
label: "chapter1",
text: {
value: "Ughhhh",
speaker: "Me",
append: false,
align: "left"
}
};
Your last bracket didn't match up, and you had commas instead of colons to set values.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.