• Register
Post news Report RSS Floatlands devblog #59

Junk armor; Loot tables reworked; Reworking Deepend submarine and Buzzard helicopter; High tier armor sketch and model; Floatlands music: Reveal.

Posted by on

Junk armor

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


Loot tables reworked

DOMEN KONESKI

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


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(List<GenericSelectedItem> 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.

DeepEnd submarine


Buzzard helicopter


High tier armor sketch and model

ANDREJ KREBS, MITO HORVAT

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.

metal armor with crystals


Floatlands music: Reveal

CHRIS PLEXIDAS

“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.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: