diff --git a/gui/inventoryGUI.js b/gui/inventoryGUI.js new file mode 100644 index 0000000..e0b237b --- /dev/null +++ b/gui/inventoryGUI.js @@ -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); +} \ No newline at end of file diff --git a/images/guiBackground.png b/images/guiBackground.png new file mode 100644 index 0000000..aaa99a4 Binary files /dev/null and b/images/guiBackground.png differ diff --git a/images/sources/guiBackground.pyxel b/images/sources/guiBackground.pyxel new file mode 100644 index 0000000..32072a9 Binary files /dev/null and b/images/sources/guiBackground.pyxel differ diff --git a/loadGUIs.js b/loadGUIs.js new file mode 100644 index 0000000..89432c8 --- /dev/null +++ b/loadGUIs.js @@ -0,0 +1,6 @@ +function loadGUIs() { + OS.AddScript("gui/inventoryGUI.js"); +} + +var guiBackground = new Image(); +guiBackground.src = "images/guiBackground.png";