Started islands and items.

This commit is contained in:
Robbie Antenesse 2016-04-07 12:26:58 -06:00
parent 3719e69ba3
commit 914168459c
4 changed files with 10 additions and 2 deletions

BIN
images/island1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

View File

@ -7,7 +7,8 @@ G.map = []; // List of island objects, generated/loaded and saved at game start,
G.inventory = [];
G.stats = {
money: 100,
inventory: 5, // Maximum number of different things the inventory can hold.
inventory: 3, // Maximum number of different things the inventory can hold.
hold: 20, // Maximum number of each individual kind of thing in the inventory.
speed: 1,
hull: 1,
popularity: 0,
@ -15,5 +16,7 @@ G.stats = {
crew: 1,
energy: 10
}
G.itemSheet = new Image();
G.itemSheet.src = "images/items_sheet.png";
function loadGameManager () {}

View File

@ -1 +1,6 @@
function islandPrefab() {}
function islandPrefab() {}
var pr_island = OS.P.Add("Island", {
solid: true,
imageSrc: "images/island.png"
});