ETB v4 Showcase

ETB v4 Showcase

Update, January 7th 2017

This showcase is now a debugging: true flag inside of Exploring The Bleak on engine.scene.viewport.

Original Post

Since beginning the fourth version of this game, I've always had it in my mind that testing, particularly Test Driven Development should be a guiding factor in how it should be made. Many projects get scrapped because their scaffolding is bad or their design lacks the proper structure to allow growth. Exploring The Bleak is not a tiny Javascript game, so structure is important.

I'm scaling a testing application for ETBv4 as features are added to the game to test those features appropriately. It's called ETB Showcase. Right now it's nothing more than an alternate view that displays the maps without the player, FOV, LOS lighting and other visual obstructions. The showcase map feature itself will be altered to allow scrolling as maps will potentially scale way beyond the simple 51x51 map size that have previously been known to show themselves in the game series.

Example 1 Showcase Map
The map generation type is Diffusion Limited Aggregation. I favor starting development on this type because it's erratic and helps test FOV much easier at the edge cases.
Example 2 Showcase Map
An emphasis on variety of environments make colors an import part of the design in ETBv4. This also means that unit testing can't just be ensuring code passes all tests, but that when a color is altered or a design element is moved it doesn't skew or alter other features of the game as they're so tightly coupled. Because of this, a view model is imperative in establishing test reliability of these newer features.

About Nathaniel Inman

I'm a gamer, graphic designer, musician and software engineer. C++ and Javascript are my favorite two programming languages for which I develop exclusively in vim, tmux and zsh on Arch Linux.

Kansas City, Missouri http://www.theoestudio.com