« Mr.Digi »

Programmer/Developer

Survival Island – Devblog 3

This devblog focused mostly on the inventory system allowing the player to carry a few items. A chest was also added where the same inventory system is used in the chests. I also made a crafting system so i can start focusing on other important mechanics. Please keep in mind with these devblogs that graphics are temporary. It will all be changed later in a graphics update.

Inventory System

I decided after some thinking that a inventory system needed to be added. Because a crafting system where you place resources on top of eachother would be complicated. a crafting system works with recipes. So if the recipe for a campfire is woodwoodwoodstonestone. this could not work when placing it ontop of eachother as it would be in a random order. 3 wood 2 stone works, but not 2 stone 3 wood. The reason why the recipe is woodwoodwoodstonestone is because when you have a crafting system based on slots, the slots will use the names of the item u input to check the recipe. so if i register a campfire needing 3 wood and 2 stone. the recipe will be woodwoodwoodstonestone. It checks if the names formed string equals the recipe string. and if so, it gives me a campfire.

Crafting System

The crafting system is as described above. You get a certain amount of slots where you can put items. the item names form a string, and that string will be compared to a recipe string. If the strings match, you get a item. Example: 3 wood and 2 stone will be: woodwoodwoodstonestone. Becomes campfire. The layout of the crafting menu will be togglable, but the crafting slots wont be possible to use as a inventory. so if you put things in the slots then close the crafting menu. the items will pop out to the ground. The layout is a 3×3 area that will generate out a string based on the items inserted. if said string equals a recipe string, it will create the item bound to the string. See images below for examples.

Stone Spear

The stone spear is the first weapon to be added to the game. it can currently be crafted with 2 sticks and 1 stone. might be changed into 2 sticks and a pebble. not sure yet. The stone spear will be a throwable weapon with high damage. The spear will do damage based on its tier, currently there is only the stone tier. Iron, wood and other tiers might be added in the future.

Chest

The chest is made for storage only. You can craft and place chests in the world and they will hold a set amount of items. For the future i will add chests that can be found throughout the world with 1 or 2 items. A underground area will also be created where chests can spawn guarded by some creatures. This will come in a future update (not in test version)

Campfire

There are some changes to the campfire. The campfire will now start lit, but will fade and get burnt out if not refilled with wood. To refill the campfire, simply drag wood ontop of it whenever it is almost out of light. Sticks can also be used on the camfire, but they wont give as much fuel. The campfire has also recieved a change of sprite. So a new fresh look more fitting with the rest of the world.

Stone Hatchet

The stone hatchet can be crafted with 2 sticks and 3 pebbles. The stone hatchet is used to chop down trees to gain wood. The hatchet will be destoyed after some time due to durablility, so keep this in mind.

Equip slot

The equip slot will display the current item/weapon equipeed. But not all items can be equipped. So far only the stone spear and stone hatchet is equipable. You can equip items by clicking the number on the keyboart corresponding to the slot the item/weapon is in. So if you have the spear in slot 1, click the number 1 on the keyboard to equip the spear.

Recipes avaliable now:

  • Campfire
  • Chest
  • Stone Spear
  • Stone hatchet

Please keep in mind that the recipes might be changed later on as more resources are added.

Patch Notes – Devblog 3

Added:

  • Added a new resource – Pebble
  • Added a new resource – Stick
  • Added a inventory system
  • Added a crafting system
  • Added new placeable object – Chest (can be used to store items)
  • Added a stone spear
  • Added a stone hatchet
  • Added a equipslot to the hotbar. Equipped items/weapons will appear here.

Changed:

  • Light from campfire will flicker slightly now
  • Campfires now run out of wood and need to be refilled.
  • The campfire has a new updated look.

The next up section is removed, because i usually dont stick with them. So wait and see whats next 😉

« Mr.Digi », May 24, 2022

Leave a Reply

Theme made by Mr.Digi