Zajoman

Aug 302017
 

Hey guys!

We have great news! Vaporum will be released on September 28th! We are incredibly excited that the game is finally finished and ready for release. These past 2 years of development have been a big challenge for our small team of 4. And now, we just can’t wait for you to get your hands on the game!

The game will come out on the PC Windows platform, in English (both text and voice-overs). We plan to add more languages shortly after. As for other platforms, like Mac, Linux, or consoles, that really depends on how the game does after release and our options.

Share the news and spread the word!

Aug 152017
 

Hey guys!

We are very sorry for not posting for a while about the project, but the amount of focus we put into the game instead of writing about it was time well spent!

The game is done!

You can expect an announcement about the release date in the coming weeks.

These past two years have been a rollercoaster ride for us. We’ve fought on many winning fronts and it looks like the fight is nearly over. There are just a few slain foes who are, here and there, sticking out the fingers from their coffins:

  • Fixing a few remaining bugs.
  • Balancing the game difficulty.
  • General polishing of the game.

These are basically done, but we are still vigilant to possible issues that might come at us from the dark depths of quality assurance.

We are also preparing the PR for the release in cooperation with pros in the field, which is, really, a new experience for us. We want to make sure everyone who might like our game will get to know about it — this is something you can help us with by sharing information about us.

There is a lot of organizational stuff that has still to be taken care of and since there are just 4 of us in the team + some help from external contributors, we ask for your patience. We are aware that we are hugely behind schedule, but we are planning to release the game ASAP, and September looks like a promising estimation.

To sweeten the waiting, we have prepared a couple of wallpapers that you can use to decorate your desktop in the meantime.

1920×1080 (Full HD)
2560×1440 (2k)
3840×2160 (4k)
1920×1080 (Full HD)
2560×1440 (2k)
3840×2160 (4k)
May 162017
 

M

Hey folks!

We have a short article about making sounds for you!

I bet you agree with me that sound is a very important part of any game. When working on a game from scratch, you typically start with white boxes for level geometry, placeholder art for UI, and low-quality sounds (if any) for game features. Just so you have some semblance of what it all will look and sound like when it’s done.

Even though the game mechanics may work flawlessly at that stage, it just lacks soul and atmosphere. After many many months of development, when we finally got to a point where all features were set in stone and we were 100% sure about them, we sent a list of sounds to a professional sound designer. When he sent us back the sound files, and we put them in, the game just came alive all of a sudden. It’s a world of difference! For me, personally, this is one of the most rewarding and fun aspects of game development.

Today, our experienced sound designer, Milan Malík, shares with us how he went about making sounds and ambience for Vaporum.

Continue reading »

Apr 102017
 

The World

My name is Constantine. I took it upon myself to record the reality and events of this turbulent time, as truthfully as humanly possible.

Our beautiful world consists of vast seas, here and there littered with archipelagos and islands. The largest cluster of islands has approximately 2 million square kilometers of landmass. Other than that, there are a few other smaller archipelagos or isolated islands around the world.

The main cluster is mostly dominated by rocky terrain and mountainous ranges, with limited arable land, but rich deposits of minerals and ores. Because of this set-up, most commerce flows by the sea and air, on the magnificent steamships and airships.

The society, at least the middle to upper classes living on or near Capital Island, the largest piece of land, has been thriving since the invention of the steam engine. Which brought about an industrial revolution, changing the world. In the last few decades, the world has witnessed more technological advancement than ever before in its history.

Coal is the main resource fuelling the industry — power stations, land, sea, and air transportation, manufacture, and the military. But, in the more advanced facilities, special laboratories, and top military installations, first combustion engines omen a new coming age.

Capital Island is experiencing a record growth in commerce, population, and a boom of construction industry. New buildings are popping up every year in an architectural combination of clean ornamental geometry and functional industrial evolution. The culture in these times reflects the technological advancements and admiration for the modern machine.

Progress Above All

Apart from the insignificant isolated island states, every piece of land, everything, and everyone is controlled by one central government body — the Supreme Bureau. The institution governs every inch of people’s lives — from education, production, to consumption of resources — and also directs scientific research and cultural development. Nothing functions without the approval of this bureaucratic apparatus.

“Progress above all!”

Things were not always such. The world used to be divided in many island states and local domains. But the Supreme Bureau, with its ever-present motto and disciplined military might, arose as the dominant force and subdued the world under its watchful eye. Shortly after suppressing the last widespread rebellion against the authoritative regime, top seismologists on Capital Island detected a huge earthquake 450 miles south of the Bureau’s residence, on the high seas of the Meridian Ocean.

The main cluster suffered one of the worst tsunami hits ever recorded. In the aftermath of this nearly cataclysmic event, the military brass of the Bureau thought the rebels were still operational, abusing unknown unconventional weaponry. However, investigation of the epicenter of the quake ruled out rebels’ involvement. It was in one of the most dangerous and unpredictable waters of the whole world — Mare Vaporum. The Sea of Fumes.

Mare Vaporum

No one really knows when or how it was formed. Mare Vaporum got its name from the vast amount of fumes that exudes from the water. The source of this specific behavior was unknown. The sea in these parts is unnaturally gassy and has higher temperature than the surrounding areas. The fumes obstruct navigation and make the water highly corrosive.

Due to low visibility and aggressive corrosion, both steamships and airships have long avoided this part of the world. Notorious sailors’ superstition also played a rather vital role in this, as many ships were lost without a trace in Mare Vaporum before.

Now, the Supreme Bureau decided to delve right into the mystery, sending diver teams equipped with bathyscaphes down there, into the deep. They sent out several teams to explore the underwater area. Some of the bathyscaphes never reached the seabed. Often the crew of these underwater machines had issues with failing machinery or hull-breaching. Some of them delved deeper, but disappeared without a trace, probably simply getting lost due to bad visibility caused by the fumes. No wreckage or debris of the bathyscaphes were found. As if there was something that didn’t want to be found.

But the Bureau did not give up. If natural powers, or whatever it was, were opposing them, it could only mean that something worthy must have been on the seabed of Mare Vaporum. At the end, after several failed attempts, their effort paid off! They found something…

Arx Vaporum

Something they must have found very valuable, as they did not hesitate to sacrifice human lives in retrieving the thing. Soon after, they launched new scientific projects and built research facilities on the nearest hospitable piece of land, the Katkennut Island. Grandiose projects in scale. Some of the experiments carried out didn’t end well. In fact, there are rumors speaking about catastrophic fire on the island. But the specifics were vague, newspapers only mentioning some kind of a natural disaster.

Then, a few years ago, there was another rumor among the intellectual elite of the Isles. The Supreme Bureau was building something big right in the midst of Mare Vaporum. A citadel, maybe a tower, codenamed the Arx Vaporum, dedicated to a specific scientific goal. They started to select people for the project. The selection process was very rigorous, employing elite engineers, scientists, workers, military, and other personnel. It is said they hired not only individuals, but whole families to help them build a new better world.

But what is this Arx Vaporum, and what secrets does it hold? We are not sure about this. What is known, but not generally acknowledged by the Bureau, is that they found something on the seabed that can change our future. The technological marvels of our time are only the beginning. But perhaps, there is something more sinister in all of this.

One can only wonder unless he or she enters the grounds of this mysterious tower…

— Constantine H. Darknoll, Chronicler

Mar 282017
 

Screenshot 2017-03-28 17.02.38

Hey folks!

Vaporum has just been Greenlit! It took 8 days during which we got well over 2,000 yes votes. Thank you all for your support and feedback we have received! We appreciate your time and all the comments as well.

No time for celebration yet, though! There’s still work to do before we release this beast. Namely:

  • Steam integration to enhance the game with all the platform’s goodies.
  • Finishing and enriching all the content.
  • Final touches on both audiovisuals and gameplay features.
  • And, as always, lots of playtesting!

The plan is to release Vaporum some time during the coming spring. Stay tuned for more updates!

Aug 222016
 
Example spreadsheet of Vaporum game data.

Dark theme for the win!

Let’s get straight to the point!

Spreadsheets are excellent for setting and tweaking static game data. In my experience, nothing comes even close to the speed and convenience of spreadsheets, with all the modern editing capabilities. JSON, YAML, TOML, XML, SQL, they all fade before the king!

Why

Because:

  • Baking game data into source code is outright bad! It’s typically hard to find any specific value and requires recompilation on every change.
  • XML and JSON are verbose and it’s difficult to change multiple related values quickly. Say, you need to tune down the health of all enemies. Oh well…
  • Full-blown database systems like MySQL are too heavy to set up and maintain, to my liking.

How

We’re using LibreOffice Calc (free alternative to MS Excel) to create sheets of data. All kinds of data. Enemy health, skill cooldowns, damage values, traits, attributes, you name it. The sheet is a perfect fit for this kind of tabular data — related keys of many elements. To update the game with the tweaked values, we simply export all sheets into CSV files that the game can read.

Sheets

The sheet is typically set up like this:

  • The column marked with !MainKey is reserved for identification of the element. The game creates a dictionary entry for each cell in this column. !MainKeyVert is used for vertical sheets — the game processes them with a slight difference.
  • The first row are the keys. The game reads these keys and assigns the column entries to the given main key entry.
    • Most keys are standard, meaning that they repeat many times for many different game objects / prefabs / actors.
    • Unique keys are marked with !, and the game reads them in-line along with the value. This is the best we came up with for non-tabular data, e.g. keys that never or seldom repeat. If you have a unique skill that does something that no other skill does, the key for the value of that action is most likely going to be unique. So this is for that case.
  • The second row are nice names so it’s easy to understand what is what at a glance. This is ignored by the game. It’s only presentational.

Automation

As I mentioned, we save all the sheets from the doc into CSV files, so the game can read the precious data. But, it would be horrid to manually re-export every sheet to a CSV file every time you changed a value. LibreOffice script to the rescue! It exports all the sheets to CSV files whenever we save the doc. The game then simply loads all these CSV files into various static dictionaries. Automation for the win!

Other parts (characters, skills, attribute banks…) then simply read the values from the proper dictionary by a key they get from the prefab name (or whatever suits us).

The loader class can be as simple as this:

using UnityEngine;
using UnityEngine.Assertions;
using System;
using System.Collections.Generic;

// ----------------------------------------------------------------

public class VapCsvReader
{
    /// <summary>
    /// Delimiter used for parsing CSV files.
    /// </summary>
    private const char CsvDelimiter = '\t';

    /// <summary>
    /// We ignore columns marked with this key. They are only there to improve editing experience & convenience.
    /// </summary>
    private const string PresentationKey = "-";

    /// <summary>
    /// We treat columns marked with this key as key-value pairs, parsing them as such. Used for ids.
    /// </summary>
    private const string CustomDataKey = "!";

    /// <summary>
    /// Delimiter for parsing cells that themselves contain key-value pairs.
    /// </summary>
    private const char CustomDataDelimiter = ':';

    private static bool verticalMode;

    // ----------------------------------------------------------------

    /// <summary>
    /// Reads a CSV file into a dictionary.
    /// </summary>
    /// <param name="resourcePath">Path to the CSV file.</param>
    /// <returns>A dictionary of strings and list of strings.</returns>
    public static Dictionary<string, List<string>> ReadCsv(string resourcePath)
    {
        // Get text asset.
        var text = Resources.Load(resourcePath) as TextAsset;
        Assert.IsNotNull(text, string.Format("{0} not found!", resourcePath));

        // Create dict.
        var dict = new Dictionary<string, List<string>>();

        // Get rows.
        var rows = text.text.Split(new[] { Environment.NewLine }, StringSplitOptions.None);

        // Iterate, skipping first 2 rows (1st = keys, 2nd = presentation only).
        for (var i = 2; i < rows.Length; i++)
        {
            // Get all cells of the row.
            var cells = rows[i].Split(CsvDelimiter);

            // First cell is an id.
            var id = cells[0];

            // Or it ain't. :) In that case, carry on.
            if (id == string.Empty)
                continue;

            // Create a list.
            var list = new List<string>();

            // Add it to the dict.
            dict.Add(id, list);

            // Go thru the cells, skipping the first.
            for (var n = 1; n < cells.Length; n++)
            {
                // Add a cell's content to the list.
                list.Add(cells[n]);
            }
        }

        return dict;
    }

    // ----------------------------------------------------------------

    /// <summary>
    /// Includes data loaded from a CSV file into the given Dictionary.
    /// </summary>
    /// <param name="resourcePath">Path to the CSV file.</param>
    /// <param name="dict">The Dictionary to include into.</param>
    public static void IncludeCsvIntoDict(string resourcePath, Dictionary<string, object> dict)
    {
        // Set default mode.
        verticalMode = false;

        // Get text asset.
        var text = Resources.Load(resourcePath) as TextAsset;

        // Get rows.
        var rows = text.text.Split(new[] { Environment.NewLine }, StringSplitOptions.None);

        // The very first row is reserved for keys, so read that.
        var keys = rows[0].Split(CsvDelimiter);

        // Find the key which we'll use as the base for inclusion.
        var baseKeyIndex = Array.IndexOf(keys, "!MainKey");

        if (baseKeyIndex == -1)
        {
            baseKeyIndex = Array.IndexOf(keys, "!MainKeyVert");

            Assert.IsTrue(baseKeyIndex != -1, string.Format("{0} is missing a !MainKey or !MainKeyVert entry!", resourcePath));

            verticalMode = true;
        }

        // Iterate, skipping first 2 rows (1st = keys, 2nd = presentation only).
        for (var i = 2; i < rows.Length; i++)
        {
            // Get a row.
            var r = rows[i];

            // Get all cells of the row.
            var cells = r.Split(CsvDelimiter);

            // Determine the base key.
            var baseKey = cells[baseKeyIndex];

            // If the cell with the base key index is empty, nothing to do here. Skip the row.
            if (baseKey == string.Empty)
                continue;

            // Go thru keys.
            for (var n = 0; n < keys.Length; n++)
            {
                // Get a key.
                var key = keys[n];

                // Skip presentational keys and the base key index. Got nuttin' to do with those.
                if (key == PresentationKey || n == baseKeyIndex)
                    continue;

                // Get the cell content with the key's index.
                var cell = cells[n];

                // Empty cells don't wanna be touched. Skip 'em.
                if (cell == string.Empty)
                    continue;

                // If the key tells us to parse the cell as a key-value pair...
                if (key == CustomDataKey)
                {
                    Assert.IsTrue(cell.Contains(CustomDataDelimiter.ToString()), string.Format("{0} error in file {1}: Custom data must have '{2}' as key-value delimiter at row {3}, column {4}", typeof(VapCsvReader), resourcePath, CustomDataDelimiter, i + 1, n + 1));

                    // Split the cell by the custom data delimiter.
                    var data = cell.Split(CustomDataDelimiter);

                    // Set the key to the left side.
                    key = data[0].Trim();

                    // Set the cell content to the right side.
                    cell = data[1].Trim();
                }

                // Construct our final full key, so longed for for countless ages across many continents.
                var fullKey = baseKey + "." + key;

                // These verticals gotta be special, hm?
                if (verticalMode)
                {
                    fullKey = key + "." + baseKey;
                }

                // Bitch the fuck out of it when trying to add keys that're already there!
                Assert.IsTrue(!dict.ContainsKey(fullKey), string.Format("What the hell is wrong witchu' son? Somebody already slapped key '{0}' onto the dictionary! So either you or them is pretty misled, dude.", fullKey));

                // Add the key.
                dict.Add(fullKey, cell);

                // Fix any missing keys in the dictionary along the path to the full key. This is for other classes to be able to ask whether some key even exists before doing more work.
                // IMPORTANT: Me loves 'while trues'!
                while (true)
                {
                    // Get the index of the dot.
                    var dotidx = fullKey.LastIndexOf('.');

                    // If there ain't any, get the horse outta here.
                    if (dotidx == -1)
                        break;

                    // Chop the full key up to the last dot (exclusive).
                    fullKey = fullKey.Substring(0, dotidx);

                    // Now add it to the dict if it ain't there already.
                    if (!dict.ContainsKey(fullKey))
                    {
                        dict.Add(fullKey, null);
                    }

                    // And now, the bracket slide...
                }
            }
        }
    }
}

If you don’t feel like writing your own or using ours, there are good libs out there:

We also have a neat class to manage the static dictionaries, to help retrieve values from it, but I’ll leave that to you to come up with. Don’t wanna get spoiled too hard, right? 😉

Unique keys go into the cell as a key-value pair.

Unique keys go into the cell as a key-value pair.

Conclusion

We were using our own, simplified implementation of YAML for all game data, but that became a chore to maintain. The number of elements just grew too much.

Once we created this sheet data flow, it’s become a breeze to not only tweak, but also find and understand all the values at a glance. Shorter iteration times (tweak -> test) help a ton for any project bigger than Tetris! And besides, attentive readers noticed we had three ‘for the wins’ in the article, so it has to be cool! 🙂