PIXI Control: Use OMORI fonts
This commit is contained in:
parent
78c79fe305
commit
32b6bf4cd5
2 changed files with 5 additions and 3 deletions
|
@ -4240,7 +4240,9 @@ var $plugins = [
|
|||
"gamepadId": "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 02e0)",
|
||||
"gamepadIndex": 1,
|
||||
"buttonsScale": 1.2,
|
||||
"buttonsOpacity": 0.8
|
||||
"buttonsOpacity": 0.8,
|
||||
"primaryFont": "OMORI_GAME2",
|
||||
"additionalFont": "OMORI_GAME2"
|
||||
}
|
||||
},
|
||||
];
|
|
@ -124,13 +124,13 @@ ONSControls.createAdditionalButtons = function() {
|
|||
//=============================================================================
|
||||
ONSControls.createEditModeInterface = function() {
|
||||
const headerText = new PIXI.Text("Режим редактирования", {
|
||||
fontFamily: 'Arial',
|
||||
fontFamily: ONSControls.options.primaryFont,
|
||||
fontSize: Math.round(this._controlsCanvas.screen.height / 20),
|
||||
fill: 0xaaaaaa,
|
||||
align: 'center'
|
||||
});
|
||||
const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", {
|
||||
fontFamily: 'Arial',
|
||||
fontFamily: ONSControls.options.additionalFont,
|
||||
fontSize: Math.round(this._controlsCanvas.screen.height / 32),
|
||||
fill: 0xaaaaaa,
|
||||
align: 'center'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue