Compare commits
3 Commits
59eb51d8a2
...
d2db8b8fdd
Author | SHA1 | Date | |
---|---|---|---|
d2db8b8fdd | |||
afd850fbca | |||
bdc076b664 |
@ -44,3 +44,7 @@ Fix MoveCamera macro
|
|||||||
## V1.4.0 (2019-09-29)
|
## V1.4.0 (2019-09-29)
|
||||||
|
|
||||||
Updated Pixi.js to v5
|
Updated Pixi.js to v5
|
||||||
|
|
||||||
|
## V1.5.0 (2020-07-31)
|
||||||
|
|
||||||
|
XDU Global support
|
||||||
|
@ -11,7 +11,7 @@ const textFunc = new TextFunctions();
|
|||||||
let audio = undefined; //Cant create a audio context without user input.
|
let audio = undefined; //Cant create a audio context without user input.
|
||||||
const player = new Player(pixiApp, utage, textFunc, audio, shaders);
|
const player = new Player(pixiApp, utage, textFunc, audio, shaders);
|
||||||
const languages = ["eng", "jpn", "rus", "enm", "kor", "zho"];
|
const languages = ["eng", "jpn", "rus", "enm", "kor", "zho"];
|
||||||
const version = "YameteTomete XDUPlayer V1.4.0";
|
const version = "YameteTomete XDUPlayer V1.5.0";
|
||||||
let bodyLoaded = false;
|
let bodyLoaded = false;
|
||||||
let utageLoaded = false;
|
let utageLoaded = false;
|
||||||
let languagesLoaded = false;
|
let languagesLoaded = false;
|
||||||
|
@ -975,7 +975,8 @@ class Player {
|
|||||||
if(cur.Character) {
|
if(cur.Character) {
|
||||||
nameToUse = cur.Arg1;
|
nameToUse = cur.Arg1;
|
||||||
}
|
}
|
||||||
this.text.characterName(true, this.utage.charTranslations[nameToUse] || nameToUse);
|
nameFullWidth = nameToUse.replace(/[A-Za-z0-9]/g, function(s) {return String.fromCharCode(s.charCodeAt(0) + 0xFEE0);});
|
||||||
|
this.text.characterName(true, this.utage.charTranslations[nameToUse] || this.utage.charTranslations[nameFullWidth] || nameToUse);
|
||||||
this.text.dialogText(true, text);
|
this.text.dialogText(true, text);
|
||||||
//restoreTint is set from a colorTo command.
|
//restoreTint is set from a colorTo command.
|
||||||
//We want to maintain the tint change from colorTo during speaking still.
|
//We want to maintain the tint change from colorTo during speaking still.
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4e3efff1afd08fc1022862c1d91b8aa0dd6636a1
|
Subproject commit ac0bfbd699431e9befdd843379e7c91ad1014cec
|
Loading…
x
Reference in New Issue
Block a user