Add audio

This commit is contained in:
asraelite 2018-03-06 20:07:13 +00:00
parent 0101ef8d55
commit 62b8c74f57
26 changed files with 225 additions and 18 deletions

View file

@ -88,11 +88,17 @@ export function game() {
};
let invShadow = root();
shadow.append(invShadow);
invShadow.posRelative({x: 0, w: 0.4, h: 0.6});
invShadow.x += 10;
invShadow.y += 10;
invShadow.h += 60;
let inventory = new GuiInventory(0, 0, 0, 0);
shadow.append(inventory);
inventory.posRelative({x: 0, y: 0, w: 0.4, h: 0.6});
inventory.x += 10;
inventory.y += 10;
invShadow.append(inventory);
inventory.posRelative({w: 1, h: 1});
inventory.h -= 60;
edit.guiInventory = inventory;