Photo by FLY:D / Unsplash

Procedural Galaxy Generation in a Free Space Strategy Game: How Wardrome Uses the Mandelbrot Set

mandelbrot Jan 16, 2023

Wardrome is a free space strategy game that offers players the chance to engage in real-time battles, economy building, and role-playing as they attempt to dominate the galaxy. One of the unique features of the game is its procedurally generated galaxy map, which allows for near infinite exploration and replayability. In this article, we'll take a closer look at how we use the Mandelbrot set to generate this map.

The Mandelbrot set, discovered by mathematician Benoit Mandelbrot in the late 1970s, is a mathematical object that exhibits a fractal pattern when graphed. It is particularly interesting for game design because it exhibits a self-similarity, meaning that the same patterns appear at different scales. This self-similarity can be used to generate an infinite number of unique and interesting maps for your game. Additionally, the Mandelbrot set is relatively simple to compute and can be easily modified to change the appearance of the generated maps.

In Wardrome, we use different parameters of the Mandelbrot set to generate the map of the galaxy, such as the number of iterations and the color palette used. The use of the Mandelbrot set in Wardrome allows for a high degree of exploration and replayability in the game. Additionally, it helps to reduce the amount of memory required to store the map data, as it is generated on the fly instead of being pre-designed.

In conclusion, using the Mandelbrot set to procedurally generate the galaxy in a free space strategy game like Wardrome can provide players with an endless number of unique and interesting maps to explore. It's a powerful tool for game development and we're excited to see how it continues to be used in the future.

Want to be the first to know when Wardrome is released? Sign up for our newsletter and stay updated on the latest developments.