You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume this happens for Text, but I noticed it when using Bitmap Text.
Certain characters in their text field value cause issues:
' (single quote): The string written out in code to assign a text field value is enclosed with single quotes. A single quote will terminate the string and anything after the single quote will be garbage to the JavaScript interpreter.
\ (backspace): A backspace will be written out to code and will of course be interpreted as an escape character in a C String fashion. It's possible to escape this character with another one (\). That will make Phaser Editor's canvas preview of the string to show both characters whereas Phaser will show it differently--therefore, designing and laying out strings will be problematic.
The text was updated successfully, but these errors were encountered:
If you like to use the fix then follow this steps:
Close Phaser Editor.
Uncompress the ZIP I attach here (v1.5.1-issue-78-patch-1.zip) and copy the files phasereditor.canvas.core_1.5.1.20180506.jar and phasereditor.project.core_1.5.1.20180506.jar to the plugins folder of your Phaser Editor installation. (Accept replace them)
Open Phaser Editor and check if the error was fixed.
I assume this happens for Text, but I noticed it when using Bitmap Text.
Certain characters in their text field value cause issues:
The text was updated successfully, but these errors were encountered: