Started kind of working on making a GUI for the Inventory.
This commit is contained in:
parent
5b5465ab97
commit
654e71f14f
|
@ -0,0 +1,5 @@
|
||||||
|
function inventoryGUI() {}
|
||||||
|
|
||||||
|
function drawInventoryGUI() {
|
||||||
|
OS.context.drawImage(guiBackground, 0, 0, 240, 240, 2 * OS.S.pixelScale, 2 * OS.S.pixelScale, 240, 240);
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 811 B |
Binary file not shown.
|
@ -0,0 +1,6 @@
|
||||||
|
function loadGUIs() {
|
||||||
|
OS.AddScript("gui/inventoryGUI.js");
|
||||||
|
}
|
||||||
|
|
||||||
|
var guiBackground = new Image();
|
||||||
|
guiBackground.src = "images/guiBackground.png";
|
Loading…
Reference in New Issue