Level Design and Sound Generate Mechanic

Level Design

This week has seen some major changes to the map. We’ve changed the colour scheme, added new areas (which means redrawing A LOT of collision, light and entities). I’ve made some pretty extensive mock-ups on paper, and tried changing walkpaths around in order for the Aesthetic goals the game set out to create, to be fulfilled.

Sooo many Areas have been torn down, rebuilt, just to be torn down again and just scrapped. It’s got to be perfect! Although, this is an extremely tedious way of doing it.


New Areas, New Colour Scheme (Ignore the black lines in the right corner, It’s a planned area)

There’s a lot of thought involved in the Design of the Level, down to the location of candy wrappers (Focusing the player’s eye somewhere specific). For example, the door of the conferance room is located higher up than the entrance of the Main hall, there’s also a guard patrolling just outside, pushing the player to choose it instead of just walking straight into the main hall.

One of my original thoughts was not to add areas outside the walkable/reachable areas, in order for the player not to feel cheated. Originaly, the long hall that connects the spawning point to the first encounter was supposed to have text stating the controls and objectives, but I might make it a bit more diegetic. I’ll add a camera and a guard on each side of the hall, as if they were interacting with the world outside, and it serves as a way to inform the player of how a Camera and a guard works.


Once again, the shittiest quick-shopping of all time


Me and Anthon (His blog) decided it was due time to implement breathing into the game.

Breathing creates Sound ripples (read my earlier posts), that emenates from the player, just like walking and shooting. The player has an internal economy called Fatigue. The more the player runs or shoots, the larger the players fatigue is; the heavier the breathing is.


Player with 49 fatigue (HUD work in progress). The circle around the player represent the amount of noise the player’s breathing is creating.

What we did is that we add values for each of the fatigue increasing actions in our configuration file, created in YML (once again, read Anthon’s blog, I highly recommend it), that looks like this:

fatigue_change_sneak = -1

fatigue_change_run = +1

This means that every second the player sneaks, the fatigue value drops by one, and it increases by one for each second the player runs.

Actually Breathing

The fatigue value is maxed out at a 100 and it’s non-existant at 0 (pretty obvious).

We wanted to make sure that there’s some kind of feed back for the player (so that the player understands that the character is genuinly getting exhausted). So we decided to scale the sound with the fatigue. Meaning that the volume of the “breathing sound” goes from 0 – 100 as the Fatigue goes from 0 – 100.Image

In the same way as we decided that Fatigue -> Volume scales , we decided to do the same with the Radius of the “Sound Ripple”.

So it goes Fatigue (Ex. 49) -> Volume (49) -> (Sound_Ripple_Radius = 49).

I’ll leave you with the code that does what I’ve explained above.

That’s all for now, take care!


Volume and Sound


About perkulatorn

I'm a 21 year old Gamedesign student at Uppsala University Campus Gotland. Creator of: Terminal Flight - Top Down Rogue Game Melvind - Tower Defense (http://doodlemeat.se/ggj13) Totemic - King of the Hill Competitive Game (WIP) Tamarrion - Hardcore RPG (tamarriongame.com , tamarriongame.wordpress.com)

One response to “Level Design and Sound Generate Mechanic

  1. Hello Oskar!

    There are things in this blog post that a reader maybe would not know what are, but you have given links and said that they can be found in earlier posts, so that’s good. You could however repeat your aesthetic goals, as that would not need much explanation!

    In the first picture you point out three areas, but none of these three areas is the main hall that you use in your example. You could point out where the main hall is, or maybe even use another more detailed picture where you can see the guard by the entrance of the main hall.

    I like how you chose not to teach the player how the game works using text, and instead you show the player the “enemies” in unreachable areas so that the player can observe them and learn their movement patterns and so on.

    I wonder how the breathing in your game sounds, as “real” breathing does not only increase in volume when it is getting heavier, but it also increases in speed. However, switching between sound files would be more complicated, so using this method could be better as long as the current breathing sounds fine.

    I really like how thoughtful you are about the level design and how focused you are to fulfil the aesthetic goals of your game.

    Good luck!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: