Game
Enter the Chronosphere

4 years ago

Chronosphere devlog - Map generation and mole mines


Map generation

For the entirety of this year we’ve been using a basic map generator that we originally created during the initial week of development during 7DRL 2021.  Now it’s time to overhaul it and create some more interesting levels.

This is an overview of the old map generation algorithm:

  1. Generate a circular maze. Mazes are a convenient type of level generator because they guarantee that every tile is accessible from every other tile.

  2. Knock out walls at random.

    This helps to alleviate the undesirable parts of maze generation (specifically that being lost in a maze is not much fun). This results in creating little clusters of cover for the player to pull into or sneak around enemies.

    We have editor tools for customizing how this process works, using Unity’s animation curve to control the probability that a wall will be removed based on its position (either distance from the center, or x or y position).

  3. Randomly select enemies from a weighted probability distribution.

  4. Randomly place health, weapon pickup, entry staircase and exit staircase.

And that’s it! We use 13 configs to generate these levels and stack them up to create the game world.

Revamping the generator is one of the meatier tasks on our roadmap, so hopefully I can show off the new system in the not-too-distant future.

New weapon, “The Crumbler”

We’ve been working on the “mole mines” biome—a cavernous underground area defending by industrialized sci-fi moles with drilling weapons and explosives.

The crumbler is a minibomb launcher which serves the 'shotgun' room clearer role in the mole mines biome.

Depending on the distance of your reticle from your character, you can either fire a tight, constrained arc or a loose spread.

Tying attack properties to reticle position, rather than aim direction, opens up some interesting space for weapon design and opportunities to raise the skill ceiling for players.

These changes aren't available in the GameJolt build, but if you'd like to follow development more closely then feel free to join us in our Discord server.



0 comments

Loading...

Next up

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

Did you know that today is #InternationalJazzDay? 🎷😎

No? 😯 Well, we couldn't pass up this date!

And what better to celebrate this day than #Pecaminosa #OST? 🎷

Let us know what you think about it and have a great weekend!

Chiaki Nanami!

Fan art for Foolish I'm feeling kinda better so I drew this

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Today I tackled drawing different variations of facial expressions for one of the main characters in Eden. What do you think of it? :) Eden: https://gamejolt.com/games/Eden/592698

I did this on my 3DS ^^ #Kirby

I made a small jungle house.

Hi all, Quick update with a bunch of fixes and changes.

Updated save system, optimisation and screen tear fixes, a new shoutout room and more sounds.

Don't forget to follow the kickstarter going live on the 20th! https://www.kickstarter.com/projects/9fingergames/zapling-bygone

Enjoy!

It's now possible to destroy some of the obstacles and gain access to new locations or create shortcuts. #gamedev #indiegame #rpg