random floors
This commit is contained in:
@@ -7,13 +7,13 @@ const WIDTH = MENU_MAIN.width();
|
||||
const HEIGHT = MENU_MAIN.height();
|
||||
const TEXT_MARGIN = 24;
|
||||
|
||||
const menuX = WIDTH / 10;
|
||||
const menuY = HEIGHT * 0.8;
|
||||
const menuWidth = WIDTH / 10;
|
||||
const menuHeight = HEIGHT * 0.2;
|
||||
const menuX = Math.floor(WIDTH / 10);
|
||||
const menuY = Math.floor(HEIGHT * 0.8);
|
||||
const menuWidth = Math.floor(WIDTH / 10);
|
||||
const menuHeight = Math.floor(HEIGHT * 0.2);
|
||||
|
||||
const X_LEARN = WIDTH * 2 / 4;
|
||||
const Y_SKILLS = HEIGHT * 0.5;
|
||||
const X_LEARN = Math.floor(WIDTH * 2 / 4);
|
||||
const Y_SKILLS = Math.floor(HEIGHT * 0.5);
|
||||
|
||||
|
||||
function addButton(scene, x, y, cback, name) {
|
||||
|
||||
Reference in New Issue
Block a user