vendredi 31 juillet 2015

Unexpected Identifier in Javascript for speech

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

Aucun commentaire:

Enregistrer un commentaire