Accueil > Dungeon League, Planet Roguelike > Continental Shelf

Continental Shelf

Added a method to generate a continental shelf around the islands. Originally I was making this a step in creating the original continent mask by adding a buffer around the land mask. Creating the continental shelf with the same noise map as the continent resulted in there being little variation in the shelf. Instead I am creating a separate noise map to base the continental shelf off of and using a threshold to configure the size of the continental shelf. I decided not to bother with a variable ocean depth, having a continental shelf and ocean is enough differentiation for my purposes. Here are some samples:

I also modified the color palette for these images making the rivers easier to see as well as reducing the amount of mountains. The performance of the drainage basin code is starting to really slow things down, I tried multi-threading it but only achieved a 10% performance increase. I will need to re-evaluate the algorithm.

Next Steps:

  • Minor lakes at river sources and intersections.
  • Performance improvements for drainage basin code.

Related posts:

  1. Pas encore de commentaire
  1. Pas encore de trackbacks