Bug: HTML5 & text string table formatting
adam36021
Member, PRO Posts: 45
in Tech Support
Hi all,
This is a bug I've been working around for a while. I can easily reproduce it. Here's a sample project hosted on my server, and one in arcade.
"http://arcade.gamesalad.com/games/171116"
Here's a screenshot of the table it is pulling the text strings from.
Basically: punctuation like commas or apostrophes are being replaced with " /, " and if you add quotation marks in dialog, like: [ He says, "go that way, adventurer" ] it ignores the quotation marks entirely.
I didn't reproduce it here, but I am fairly sure a text cell with multiple quotation marks will break HTML5 structure entirely, like the following:
[ "Go east past the mountains," said the old wizard. "Then go north, as far as north will go." ]
Hope these examples demonstrate.
Comments
Here's another version with the second example
"http://arcade.gamesalad.com/games/171117"
[ "Go east past the mountains," said the old wizard. "Then go north, as far as north will go." ]
As you can see: it drops the initial quotation mark, adds backslashes to punctuation, and loses the last quotation mark. Note that it is always the SECOND comma that causes the character breaking, the first comma works fine.
And for what its worth: my workaround so far has just been changing how I structure dialog in text cells. No contractions, no quotation marks, no apostrophes. This works but kind of limits what you can do.
[In this level, you'll be making ships. ]
Becomes:
[ In this level you will be making ships. ]
I am dealing with the same bug. i am making a quiz game using tables and can't use more than one comma
Could you send me an link to your project (https://creator.gamesalad.com if it's built there, https://publish.gamesalad.com/game/####/edit otherwise).