# Procedural Level Generator in Unreal Engine 4

14 February 2022 - [Patrick Poti](https://digitalproduction.com/author/patrick-poti/)

Developer J.G.’s C++ 3D autotiler samples volumes and places modular tiles to generate levels for the roguelike Galaia.

Cartoon fox character in blue shirt standing on grass near floating heart-shaped object in video game scene.

***Archive translation. Specifications, services and availability reflect the original publication date in 2022. Verify current compatibility before production use.***

**In brief:** Barcelona game developer J.G. demonstrated a procedural level generator built for Unreal Engine 4 during development of the roguelike Galaia.

**Generation method:** A single cube provided the starting volume. The tool then assembled a level from prefabricated modular components, with meshes placed by a custom C++ system. J.G. described the method as a 3D autotiler: it sampled volumes, distinguished occupied from empty neighbouring points, then selected matching tiles.

**Development updates:** The developer shared progress through **[Twitter](https://twitter.com/JgDoesThings?utm_source=digitalproduction.com&utm_medium=referral&utm_campaign=ongoing)**. Test topology rules, seed repeatability and runtime cost before using a similar generator in production.

[https://twitter.com/JgDoesThings/status/1478715827394392066?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1478715827394392066](https://twitter.com/JgDoesThings/status/1478715827394392066?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1478715827394392066)

[https://twitter.com/JgDoesThings/status/1491515841921359873?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1491515841921359873](https://twitter.com/JgDoesThings/status/1491515841921359873?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1491515841921359873)

[https://twitter.com/JgDoesThings/status/1482845257217753091?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1482845257217753091](https://twitter.com/JgDoesThings/status/1482845257217753091?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1482845257217753091)

#### About the author

Patrick Poti [Patrick Poti](https://digitalproduction.com/author/patrick-poti/)

#### Topics

- [Unreal Engine517 postsWalk into the scene while it is still taking shape. Explore Unreal Engine realtime rendering, virtual-production and world-building workflows that bring immediate visual feedback into increasingly varied creative projects.](https://digitalproduction.com/tag/epic-games-unreal-engine/)

#### Article details

Published

14 February 2022, 13:38:31 CET (+01:00)

Author

[Patrick Poti](https://digitalproduction.com/author/patrick-poti/)

Reading time

About 1 min

Word count

156

#### Tags

- [Epic Games Unreal Engine (517)](https://digitalproduction.com/tag/epic-games-unreal-engine/)
- [Game (548)](https://digitalproduction.com/tag/game/)
- [Game Engine (171)](https://digitalproduction.com/tag/game-engine/)
- [Generator (41)](https://digitalproduction.com/tag/generator/)
- [Terrain (56)](https://digitalproduction.com/tag/terrain/)

#### Permalink

[https://digitalproduction.com/2022/02/14/mit-nur-einem-klick-gaming-levels-generieren/](https://digitalproduction.com/2022/02/14/mit-nur-einem-klick-gaming-levels-generieren/)