Fix controls
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 684 B |
|
@ -52,7 +52,7 @@
|
|||
z-index: 1488;
|
||||
position: absolute;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
right: 32px;
|
||||
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
@ -29,10 +29,10 @@ function create_control_buttons() {
|
|||
// LB-RB Buttons
|
||||
const DivB_LB = document.createElement("div");
|
||||
DivB_LB.className = "gamepad-bumper LB";
|
||||
DivB_LB.id = "buttonW";
|
||||
DivB_LB.id = "buttonQ";
|
||||
const DivB_RB = document.createElement("div");
|
||||
DivB_RB.className = "gamepad-bumper RB";
|
||||
DivB_RB.id = "buttonQ";
|
||||
DivB_RB.id = "buttonW";
|
||||
|
||||
// Adding
|
||||
document.body.appendChild(DivB_LB);
|
||||
|
@ -211,10 +211,10 @@ const keys = [
|
|||
{ key: 'Z', keyCode: 90 },
|
||||
{ key: 'X', keyCode: 88 },
|
||||
{ key: 'Shift', keyCode: 16 },
|
||||
{ key: 'A', keyCode: 87 },
|
||||
{ key: 'A', keyCode: 65 },
|
||||
|
||||
{ key: 'Q', keyCode: 81 },
|
||||
{ key: 'W', keyCode: 68 }
|
||||
{ key: 'W', keyCode: 87 }
|
||||
];
|
||||
|
||||
const dpadkeys = [
|
||||
|
|
|
@ -31,7 +31,6 @@ Scene_OmoriTitleScreen.prototype.createTitleCommands = function() {
|
|||
// Add window to title Commands
|
||||
this._titleCommands[i] = win;
|
||||
this.addChild(win)
|
||||
console.log(win.width)
|
||||
};
|
||||
// Set Continue text
|
||||
this._titleCommands[1].setText(textList[1], this._canContinue);
|
||||
|
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 684 B |
|
@ -52,7 +52,7 @@
|
|||
z-index: 1488;
|
||||
position: absolute;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
right: 32px;
|
||||
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
@ -29,10 +29,10 @@ function create_control_buttons() {
|
|||
// LB-RB Buttons
|
||||
const DivB_LB = document.createElement("div");
|
||||
DivB_LB.className = "gamepad-bumper LB";
|
||||
DivB_LB.id = "buttonW";
|
||||
DivB_LB.id = "buttonQ";
|
||||
const DivB_RB = document.createElement("div");
|
||||
DivB_RB.className = "gamepad-bumper RB";
|
||||
DivB_RB.id = "buttonQ";
|
||||
DivB_RB.id = "buttonW";
|
||||
|
||||
// Adding
|
||||
document.body.appendChild(DivB_LB);
|
||||
|
@ -211,10 +211,10 @@ const keys = [
|
|||
{ key: 'Z', keyCode: 90 },
|
||||
{ key: 'X', keyCode: 88 },
|
||||
{ key: 'Shift', keyCode: 16 },
|
||||
{ key: 'A', keyCode: 87 },
|
||||
{ key: 'A', keyCode: 65 },
|
||||
|
||||
{ key: 'Q', keyCode: 81 },
|
||||
{ key: 'W', keyCode: 68 }
|
||||
{ key: 'W', keyCode: 87 }
|
||||
];
|
||||
|
||||
const dpadkeys = [
|
||||
|
|