« Mr.Digi »

Programmer/Developer

Survival Island – Devblog 5

Building system

I’ve started working on a building system for the game. Its not quite finished, but it allows the player to build a house with walls and a door. Currently you can craft floor, walls and a door. Walls cost 4 stone, floor costs 4 wood, and the door costs 6 wood. This might change in the future.

Building part – Wall:

The wall is a complicated building block, when placed it will check each side to see if there is another wall object there or not, and then it will adjust itself accordingly. The wall is also programmed to work with the door buildingblock, the door will be created with a top wall piece that will adjust itself according to surrounding walls. There might be some weird looks at some connections, but this is something i will fix with time.

Building part – Floor

The floor part is quite simple, it can be placed on ground as long there are nothing already there. so be sure to chop down trees and mine rocks where you want to build. Walls and doors can be placed on floors.

Building part – Door

The door is created to only allow passage for the player, there is a collider blocking the door, but it is disabled for the player. meaning any animal/enemy following will not be able to enter.

Seed

Seeds will now drop from chopped trees and can be replanted. Currently there are 2 different uses of the seed. Plant it on the ground, and it will create a tree over time. Plant it in a flower pot, and it will grow a small decoration plant.

Tree Planting

When a seed is placed into the ground, it will spawn a small plant. Over time this plant will grow and turn into a tree that can be cut down by the player. This gives the player more control over tree growth and placement.

Flower Pot

The flower pot is the first decorational item in the game. It was mainly added as something to add to your base/house as decoration because there are almost to nothing to decorate with currently. More will be added. You choose yourself if you want to have a plant in the pot or not. A plant can be planted using a seed.

Torch

After some testing, i discovered that night time was quite dark. even in bases. So i made a torch. The torch will emmit light in a sphere, But other object may block the light. Such as walls etc. The light blocking mechanic is also applied to campfires. So campfirelight is being blocked by some objects aswell.

Grid system

When placing objects, walls and floors etc, there is a invisible square moving along a grid checking for collisions at the position of the mouse. If there is nothing under the square, you will be able to place. Some object and building parts have certain rules that only apply to said part, so you might be able to place some things ontop of another. The square will be visible when placing building parts and other objects that stick to the grid.

Weather – Rain

Rain is the first weathertype to be added to the game. Currently right now rain will start randomly and last for a amount of time. So far, that is the only functionality for the rain. The plan is to add watering to plants and crops, so rain will affect that too.

Weather – Fog

Fog is what it sounds like. Its fog. The fog can appeare alone, but it can also come with rain. The one with rain is the foggy rain weather type. Its just a mix of both. Fog thickness can be different from time to time.

Game Testing

The game is nowhere close to being finished, but testing is a important part of the development. There will be no testing until a camper manual is added (book with crafting recipes), wont be too long hopefully. But i will let people sign up to test the game already now. If you want to test the game when it comes to a playable state, fill out this form: Google form

Patch Notes – Devblog 5

Added:

  • Added a new resource – Seed
  • Added tree planting
  • Added a new decoration object – Flower Pot
  • Added a grid based building system
  • Added building part – Wall
  • Added building part – Floor
  • Added building part – Door
  • Added a craftable torch
  • Added weathertype – Rain
  • Added weathertype – Fog
  • Added weathertype – Foggy rain

Changed:

  • Trees now drop a seed when cut down.
  • Light from campfires are now blocked by some objects.
  • Crafting menu is now hidden when game starts, Can be toggled by pressing Q.
  • Items will move towards the player if within range and has inventoryspace.
  • Trees can now only be harvested with a hatchet.
  • Rocks can now only be mined with a picaxe (picaxe not added yet).
  • Rabbit and Spider is disabled until Advanced AI is added.
  • The test island is changed to be more like a island. Not a square anymore.
« Mr.Digi », June 12, 2022

Leave a Reply

Theme made by Mr.Digi