After working on getting characters moving around the area map, where the map consisted of a literally random scattering of walls, I thought it was time to make a start on actual maps for use as game areas, and so this has been the focus of July’s development effort.
Following on from some work I’ve done previously with procedural generation, I decided I wanted to use midpoint displacement, aka the diamond square algorithm, to generate some random heightmaps to use as the basis for a 2d representation of the playable area in and around a mountain.
This month I’ve moved on from the lighting system that’s been the focus of development in previous months, onto getting characters into the game and moving around. The goal of the first playable prototype is to have dwarves in the game as a playable race, before working on bringing other races in.
First of all, it’s with great pleasure that I can unveil the first piece of concept art for King under the Mountain, produced by Anthony Avon. As something of a specialist in landscape concept art, I contacted Anthony with a description of the game, the setting, and a brief of producing a landscape depicting a dwarven settlement in the game world.
While working on the technical side of King under the Mountain I’ve been in touch with several creative types to help out with the more artistic side of the game. I’m pleased to announce the first set of music tracks have been produced and they’re ready to be unveiled to the world!
Each of these tracks is to be used as peaceful background music while the player is building up and managing their settlement, so they share the same theme and goal, but differ in approach from each individual composer.
A Call to Create is by Frankie Rivera. His main website is his soundcloud site where you can listen to the rest of his work – soundcloud.com/ciscophony
An Industrious Beginning is by Hannah (Safi Composer), who has a portfolio at saficomposer.com
Peaceful Thoughts is by Bettina Calmon and she was kind enough to extend and update the track after initially finishing work on it. Bettina’s professional website is bettinacalmon.com
All of the above artists are freelance composers with experience in creating a range of different music for games. If you’re a fellow indie game developer and need something composed, be sure to check them out!
I’m back from (a fantastic) honeymoon and working on King under the Mountain once again. Apologies that there were no real updates – I was on the other side of the world for a month!
In development news, in addition to the point light system detailed earlier, I’ve been working on “outdoor” lighting, to illuminate the outdoor areas of the game compared to indoors and underground. Even more excitingly, I’ve also added the basics of a day/night cycle, where this lighting changes colour throughout the game day. As with nearly everything in the engine, the values used are open to modding by being stored in a simple JSON file, which will allow people to change the brightness, colours and times of the phases of the sunlight shown.
Light from outside bleeds inwards over a distance (as shown with the area on the right in the video). The goal is to tie this into game mechanics with how well lit areas are for the characters in the game to be able to “see” to perform actions.
I’d like to add a direction to the sunlight that changes throughout the day (simulating the sun rising, moving and setting) and shadows, but I think this will do for now while I concentrate on getting other basic systems in place to have something playable.
In other news, I’ve started outsourcing some creative work to some very skilled artists and composers and I can’t wait to share more details with you very soon!
This blog has started a short way into development of King under the Mountain so I’ll use this post to bring you up to speed on where we’re at.
For those interested in the technologies being used, King under the Mountain is written in Java using the LibGDX framework. LibGDX allows you to cross-compile your game for deployment on many different target platforms, so a port to mobile/tablet is a possibility in the future but for now the project is aiming at PC only. LibGDX is also a wrapper aroung LWJGL, which is a lower-level library and the one used to most notably create Minecraft.
The very first “working” version of the game was to get the concepts of the 2D world and “walls” working correctly. As I’m drawing inspiration from Prison Architect and a lot of older tile-based games, of course the game world in King under the Mountain is tile-based. The very first problem to tackle was the fact that as the game involves digging into the side of a mountain, I do not want walls next to each other to look like this:
So I thought it was about time I started to build up a web presence for King under the Mountain, and to start a dev blog to keep myself organised and motivated. Although I’m writing this in March 2016, the source code repository was started almost exactly a year ago and early designs for the game came much before that.
I’ve created a page to explain what the game is and how it’s intended to play, so I thought I’d share my inspiration and goals here. Too many years ago (nearly 20!), one of my favourite games of all time was Dungeon Keeper (and later it’s sequel). Not only was it a lot of fun playing “the bad guy” (albeit a slightly cartoonish one), I loved the mechanics of tunnelling your own dungeon out of the rock – creating a dungeon and infesting it with monsters, rather than playing as the goody-goody heroes exploring a dungeon someone else had created. Planning what to build and where in addition to caring for and training minions. I loved the whole thing.