Devblog #39: Submarine, helicopter, armor

Published February 19, 2018
Advertisement

Player Panel
DOMEN KONESKI

I’ve implemented a system where adding new types of armor and skins is now easy. All you have to do is add appropriate mesh, name it correctly, create a prefab, set correct layers and add a custom script which resolves everything (from icons, number of skins, to item bonuses armor has).

Items will have shared sprites as well, meaning two different items have a shared sprite, allowing us to create more world items that can drop from various mobs.

junk_armor_lowpoly_floatlands.png?fit=36
junk armor

Loot tables reworked
DOMEN KONSEKI

Items now have a world drop chance. If their drop rate is > 0% then this item can be used in our new loot table system. You can define loot tables via our in-house solution. Next thing that needs to be done is applying loot table callback when lootable events occur: you kill a critter or an enemy, looting crates, mining and resource gathering.

loot_tables_lowpoly_floatlands.png?fit=6
loot tables

Algorithm that selects an item is straightforward. Gather all items and their drop chances in a list, then sort them from lowest to highest item chances and then start evaluating their drops by using Unity’s Random.value.


public static T SelectItem<T>(List<GenericSelectedItem<T>> items)
{
     items.Sort();
 
     for (int i = 0; i < items.Count; i++)
         if (UnityEngine.Random.value <= items[i].Chances)
            return items[i].Item;
 
     return default(T);
}

Reworking DeepEnd and Buzzard
ANDREJ KREBS

I have reworked the models for the Buzzard helicopter and Deepend submarine. We decided to make them a bit more compact and the models were divided, so they will be built in the game by adding pieces of them to a frame.

 

 

giphy.gif

DeepEnd submarine

 

 

giphy.gif

 

Buzzard helicopter

High tier armor sketch and model
ANDREJ KREBS 

I also reworked the high tier armor for the player. Based on Mito’s sketches I modeled a metal armor that is ornamented with several crystals. I will add some more versions, that will be available as skins.

crystal_armor_lowpoly_floatlands.png?res
metal armor with crystals

Floatlands music: Reveal
DOMEN KONESKI

“Reveal” is one of the first tracks I made for Floatlands. The bouncy modulated toy piano sounds in the beginning represent your clumsy first steps that are easing you into another long and deep synth swelling that feels like the airy lands of the game. A deep breath of awe before you continue your venture through those lands.

More about Floatlands:
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement