Wednesday, November 16, 2016

Corner cases

So now that I have a coherent vision of the game, I finished the first level (which will be a tutorial level really, nothing much is going on). Interesting fact: I made this based on the house of another, childhood friend of mine, with slight modifications. I don't know why, but that house is the default one when I try to imagine what other houses look like. Perhaps this friend represented to me what a 'normal' family would look like? This seems the most reasonable explanation, but then again, I have no way of being sure. I'll stick with it, though.

So after I have added the last few little touches (texts on the walls, that hint at the general aura of the whole game; also added the music for this level. I have all the songs I want to use, downloaded from incompetech - royalty-free music ftw!), I've asked a friend to look at it, while I could watch him play (Teamviewer 11 gives a very good user experience, if you have a good enough network connection, I can only recommend!), and I made a few notes. Afterwards, I asked for his input, and then talked about it.

So, as it turned out, I need to rework the shades, or somehow I need to make it more clear to the player that he needs to avoid them. Or that they hurt the player. Or that the blur effect is supposed to mark how afraid the character is. Or that darkness is to be avoided. He had the idea that there could be little words flash in and out (not too visibly) in the dark areas (words like "fear", "loneliness" and stuff). But then, why not make the shades become these floating words, instead? I think I'll go with that idea.

Another problem was that at the starting room, one could easily "die" by accidentally going backwards, into the shadow. He suggested to remove the nightstand from next to the bed, and instead put a shelf in the opposite corner, which could provide a clear hint at the player that shadows are bad.
But this problem also presented itself at the end of the level, where there is a bed, and if you go too close to it, you enter the shadowy part, which means death. Since I check the player's center point against the lights, and not the whole model, this gives unrealistic results in these corner cases. My friend suggested to use areas where this "feature" would not activate. Which seems like an easy thing to do, so I'll keep this suggestion in mind. (Another solution could be to sample not from one point, but from many. I'll need to explore these slutions sometime.)

And minor bugs, of course, because game development would be just plain boring if you wouldn't need to fix shit all the time.

Sunday, November 13, 2016

Brain teaser

Early on the game, the player will enter in a level where there is a huge brain, with all kinds of devices attached to it. All these devices represent something, which I won't go into detail, because I want to spare some novelty for the actual game.

First thing to do is to get a brain model. I sure as hell won't start modelling one. So I need a free brain model, that is low-poly enough. Unfortunately I couldn't find one that I could use (tried to convert and whatnot, but for some reason I couldn't). That's when I ran into this. I downloaded the pial (in .obj), and then fired up Blender.


The number of faces is too large - it is in the realm of hundred thousands. Even if Unity would be able to handle this (it isn't, there is a hard cap at 65,536 faces), it would be too large for my game. What I did is to use the Decimate, Smooth and Triangulate modifiers. Decimate (planar, up to 20 degrees) did a good job at lowering the amount of faces, smooth made it look a bit better, and then triangulate fixed a problem in Unity, where some of the faces would not be rendered.


It contains about 10,000 faces. After that, I imported the model into a new scene, then I modeled a wire in blender, imported it as well, then added lights, materials, etc. This is the end result:

 

With the wires, I was aiming for a look like this (the game is called "That Dragon, Cancer"). However, this was just a quick mash-up to see the brain model in the game with a few effects, the end result will be a bit more polished, I hope.

Tuesday, November 8, 2016

Beginner's Guide

A few days ago I played a game called "Beginner's Guide", which is done by the same person as the game "The Stanley Parable". I don't say much about it other than it is also a story-driven game, that is all about getting to know a person by the kind of games they make (as seen in the trailer), because it would spoil a lot of good things. Check out the trailer here.

What I noticed while playing the game is that what the narrator, Dave, does, is also what I do naturally. I like to get to know people who somehow arouse my interest. And I mean *really* get to know them, to a very deep and personal level. I easily get obsessed about some.

But I'm also like Coda, the person who is the subject of all the analysis - although I have to admit that the basic ideas behind those games are far more creative, profound and symbolic than any of my game ideas. Heck, I even stopped working on this very game, because of lack of motivation, lack of ideas, I just couldn't come up with a way of continuing development. There wasn't an overarching theme, a topic, which I could use as a base when designing levels.

But after I played the Beginner's Guide, and got a few days to think about it, suddenly I was able to come up with a consistent idea, and finally I managed to create an ending (in my head) with which I am actually satisfied, unlike the previous one I had in mind.

So now that I know the desired end result, I can continue where I left. I also realized that in order for this game to be personal, artistic and meaningful, it doesn't even has to have very detailed models or such. I can do it in a minimalistic style, just like the Beginner's Guide.

I also changed the game's message. I intend it to be far more personal than I originally planned. I put out all my quirks and cracks, and hope for the best.

So for now, I feel the rush to work on this game again.

Hopefully, it will last longer than a few hours.