« Mr.Digi »

Programmer/Developer

Survival Island – Devblog 8

This devblog i have added watering to crops aswell as a start for random generation of objects. My plan is to have the entire island be randomly generated, but that wont be looked into just yet. A backpack inventory is added. and a crafting book. The crafting book will contain crafting recipes when finished.

New item – Watering Can

The watering can needs to be used on crops after planting them from now on. When planting a crop, the crop will start with a default value of water, and the water will decrease over time. Currently the default value is set to 25 out of 100. And since crops grow based on the water level, this is how it works: Normal time * (waterlevel/100).

Building part – Fence gate

In the previous i added The fence as a way to protect crops against a feature coming to enemies later on. But enemies would still be able to walk in the same way as the player unless you places a door. It works, but doesnt look right. So now there is a fence gate added. Looks better, but does use the same functionality as the door. Its just there are a better enterence/gateway in to the crops.

Backpack

I added a backpack to the player, i know that i said the player wont have a inventory. But to transport items it is a must. But, the backpack wont be available unless you have a backpack crafted. Currently it is available at all times, but that will change once a backpack item is added.

New item – Stone Hoe

The stone hoe is now added, meaning that the showel is no longer used to plow ground. Now use the hoe to plow the ground, and the showel to dig a hole for the crops.

Pause menu

The pause menu is currenly there as a option to pause, leave for the main menu, and exit the game. There will be added saving and loading to the game soon, so saving will be added to the pause menu. Pause is triggered by pressing P at the moment, this will change in a later update.

Hotbar scrolling

After playtesting the game a few times i got tired of having to click the correct number on the keyboard to equip the tool i needed. So i implemented scrolling to the hotbar, now i can scroll down to the item i want instead of having to look for a number. Makes it alot easier and smooth. Also with the scrolling, i added highlighting to the selected slot. This is to make it easy for the player to see what slot they have selected.

Random enviroment generation

I decided to expand on the island size so i can start adding more things that need more space. But in doing so i realized that placing 100+ trees and bushes etc was going to take a insane amount of time. So i created a script that does it for me when i start the game. Now when the game starts, the script will make a list over empty spaces on the map. Then it will spawn trees on random locations from the list, and remove the location it places a tree at from the list. Then once it has placed the amount of trees required, it will place bushes on random places from the list and remove them accordingly. Then repeat the process for Grass and Rocks. This script will also be placing items in future updates.

New item – Crafting Book

The crafting book is the book that will contain all crafting recipes. It will be next to the player when you spawn on a fresh island. And when picked up, it will automaticly be placed in a reserved slot for the book. Click on it to open the crafting book. Currently there is nothing happening when you click on it, but that will be added in a later update.

Red Berry Bush

I added a new type of bush, this bush will drop red berries when destroyed. I will make it so you can harvest berries without destroying the bush later on. Just so the berries can grow back after some time. Berries can be eaten for some health and hunger. Other eatable objects also give some hunger now that hunger is added.

Patch Notes – Devblog 8

Added:

  • Added new item – Watering Can
  • Added a waterbar over crops (visible on hover)
  • Added building part – Fence Gate
  • Added a player backpack
  • Added new item – Stone Hoe
  • Added a basic pause menu
  • Added scrolling to the hotbar.
  • Added random generation of enviromental objects (trees, rocks, bushes and tall grass etc).
  • Added new item – Crafting Book.
  • Added hunger to the player. If the hunger is 0, the player will lose health.
  • Added new bush type – Red berry bush

Changed:

  • Crops now grow based on their water level.
  • Chests can now hold the same amount of items as the player backpack. 1 chest = 1 inventory
  • The Farmland graphics are changes, aswell as the ground graphic.
  • The Island is now bigger
  • You can now plant crops closer to the edges on farmland. Previously a 3×3 area could have 1 crop, now it can have 9. a 4×4 could have 4 crops, now it can have 16.
  • Changed the way items are spawned when destroying a object. (no visible change, just backend)

Removed:

Existing bugs:

  • Skeleton enemy spins when attack animation is playing.

Fixed bugs:

  • Discovered a bug with crafting causing items to disappear from the crafting menu when clicking on the hotbar. This is now fixed.
  • Discoveres a bug causing loss of items if you hold a item when trying to take a item from the crafting result slot. This is now fixed.
« Mr.Digi », July 3, 2022

Leave a Reply

Theme made by Mr.Digi