Randomly generated dungeons

Yes is it possible to create randomly generated dungeons at all or do i have to hand make each level i want for my game?

Im not asking for codes or anything just if it is possible!

It is possible, but depending on your type of game it can be quite a lot of code. :slight_smile:

1 Like

Working on a dungeon crawler like FATE but more in depth and with a bit of a story

There is some discussion and a couple of simple examples in this thread.

Thanks much…still learning alot about lua and just trying to see what is possible and what is not possible with this language!

Being able to easily generate procedural content is not so much about the language. As long as the language supports data structures (Lua has the table structure) and the language can generate pseudo random numbers (Lua has math.random).

What matters more is how the game engine is designed. Is it easy to spawn/create objects at runtime? Can you modify existing objects at runtime?

Lua and Defold can definitely be used for games with a lot of random content.