Advertisement

Randomized Platformer Levels | Roguelike Devlog #12 "The Colosseum"

Started by November 27, 2020 11:32 AM
0 comments, last by MissingTheMoon 3 years, 11 months ago

Welcome everyone, we are working on a fast paced 2D roguelike. You fight in a futuristic colosseum as a samurai while hyping up the crowd to get more gold.

Last update added platforming elements to the paths and it worked out really well! So this update I focused on it more.

If you prefer youtube videos:

Why Randomize Paths?

The problem with the platforming elements is that people die often in roguelikes and ours is no exception. So even if we create a lot of paths, at one point, people will recognize every path. Than the paths feel boring and stale. And I dont want that! So this updated we focused on randomizing paths.

So whats the pros and cons?

Mediocre paths are better than stale paths that everyone remembers. Also the challenge in roguelikes should never become less just because you remember the layout. They should become easier because you become better at them.

The randomness changes the difficulty. The difficulty therefore is never exactly above or below you. Its usually around your skill level. The problem is that these paths take way longer to build and I talk about that in a bit.

But the biggest problem is, even though the randomization makes it that people take longer to get accustomed to the same path. The path still uses the same mechanic. And the mechanic in itself will become stale at one point.

So we want to walk a tight rope between building enough levels with the same mechanics so people dont recognize the same paths. That way paths have longevity.
MEANWHILE we want enough mechanics in these paths so people dont become bored of the mechanics.
BUT lets also not forget that this is a roguelike about fighting and not about platforming. Its a secondary part of it. So we don't want to many mechanics with it and make this part harder to master than the primary part of the game.

So how do we randomize?

Whoever knows me, knows that I hate randomizing in games. At least fully randomizing things. I love platformer games. Handcrafted levels. Perfectly positioned traps with thoughts put behind every single element and decision. The level is as good as it can be. When randomizing, the level is sometimes good and sometimes bad. I hate that. So we don't fully randmize the paths!

We use several techniques and steps:

  1. First I pick a mechanic / trap to use in this path and make a simple half of the path. This should stand on its own and be fun by itself.
  2. Now I test it. Is it fun? Is it hard? Impossible? Different from already created paths?
  3. Now we randomize the shit out of this!
    1. Randomize the size of holes and platforms.
    2. Add extra elements / obstacles. When the path is picked, each element has a 50% chance of actually being there. So sometimes there will be no extra elements, sometimes eight. This creates a range of difficulty and makes recognizing the path way harder.
    3. Randomize the position of traps between two points.
    4. Switch around the position of traps to another position. Again this has a 50% chance to happen for each.
  4. Repeat step 2 (testing)
  5. Now I create the second part of the path the same way WHILE keeping in mind that the first and second part have a 50% chance to be switched around. This again helps to make the path different and less recognizable

All this randmizing takes a long time, but it makes it really hard to get used to any path. After all they are different each time. Its a lot of small differences but together they make a big difference.

That's all folks!

This week I came up with this algorithm and used it to create paths. This was a lot harder and more time intensive then expected!
Next update I will focus on iterating over the obstacles more. You will be able to destroy some traps to make the path easier but you will get less rewards that way!

Thank you for your time and have a good day everyone!

None

This topic is closed to new replies.

Advertisement