Gent Stickman Vs Evil Meat Hand: Ante Vitam (Post Mortem Sucks)

12.- TECHNICAL DEVELOPMENT AND TOOLS

I use my own parser tool called ParserCommander developed for a 2018 Spanish comp.

It’s a very simple to use tool written in JavaScript, with a “text in > text out” pattern (plain text or more complex JSON objects), making the task of adding all the HTML envelope around this very easy.

The main concept is the invented word SIMPREX, for a syntax made by me to use regular expressions in a simple way. Anything I need to do in the sense of programming can be done with JavaScript, manipulating all the world objects in the way you will do with any JavaScript library.

I’m very proud of this approach, as it allows me to write things very quickly and easily, without too many problems, but I suppose that every Parser creator makes the tool he wants to use : D

I have created a Word exporter to allow me to write text and commands directly in a Microsoft Word file that finally is exported to the game. That allows me an easy way to check syntax in games with a lot of text, especially in other languages, like the “Syd Fox: Scotland Yard Detective From Outer Space” project I started for this same Comp but that was finally swapped by this.

On the side of this game, one of the reviewers at Intfiction reported some problems with the speed of his connection, resulting in images shown blank or half loaded in the sequences.

This is obviously sad and although nobody else regrets this, it is something that other people with slow connections can suffer, so in the post-comp version I will try to check this to minimize the impact.

Images were generated as transparent background .png files. This would allow me the possibility of changing the game background, as one of the initial ideas was not to use white background but a crumpled notebook graph paper (that one with little blue squares we all probably have used at school). However, after asking an artist about this, I finally decided to leave the background blank, sticking to the “absolute minimalism” criteria for the game.

So .png files with transparent background are not mandatory anymore, so they can be replaced for .jpg files. In images with very little content, .png files result in smaller files than .jpg (for example 21.9Kb in .png vs 40.2Kb in JPG at level 6/10 of compression, that means less image quality). However, in images with more content, .jpg is clearly better at compression (for example 433Kb in .png vs 209Kb in JPG at level 8/10 of compression, that means quite good image quality).

One of the steps to take could be converting all or some of these graphics from .png to .jpg.

Preloading all images would be the easy way, but it must be around 15Mb and people with slow connection will anyway be punished by that.

So perhaps the solution will be to add an ugly loading spinner at the beginning of the sequences, preload just the images on it at that moment, and once loaded start the sequence, having in mind that once the image has been shown, it will by default stay in the browser’s cache so the next time it will be loaded immediately.

Accesibility

Making this game accessible to people with visual problems is a bit tricky. I have been working on web development that includes accessible content so there was no technical problem in this case.

The problem is that the important part of the game is I think in its drawings and translating them to text would be in fact another different game. Should I make this work, to offer a different game to people with those problems?

The speed of an animation could be also a problem for some people with other kinds of disabilities, as showing text being justified can be for other people.

I have talked throughout the document about the absence of text in response to user actions in the game, but this is not entirely true: Each user action generates text that is sent to a remote server where the user’s actions are logged.

In order to be able to understand what the user is doing at any time when reading these logs later, the system sends an identifying text of the location where the user is, the typed text, and the result of the action summarized as text (since it would be impractical to send the images or their names to find out what happened).

This text is very basic and just descriptive in the “climbs the tree” style, but this descriptive text could be elaborated further to make it more attractive to the user, and send it as alt text for images. So it is a matter of deciding if doing it will keep the game as interesting.

2 Likes