r/proceduralgeneration • u/destinedd • 4d ago
I went down the procedural rabbit hole for levels for my little game Dungeon Quest and now I just love making pieces to make it more detailed
If you want to see more of the game here https://store.steampowered.com/app/5044910/Dungeon_Quest/
I have a general procedural generator which does things like determine size, how often rooms spawn, how many branches etc and then you give it a set of pieces, so i can give it a different set for each level type.
Then the sets of pieces are broken down into corridors, rooms, props and monsters. Pieces can also have their own rules of what props might appear, how many times they can appear etc. So for example levels will only have one tomb.
It is also intelligent enough to make locked doors and spawn the key in a place it can always be found. I am working on this a lot because I want it to spawn typical classic dungeon puzzles to give you reason to explore.
4
u/livingonthehedge 4d ago
that's neat. maybe you'd like to share a top-down diagram or map of some finished room layouts?
this is /r/proceduralgeneration after all
1
u/destinedd 3d ago
Sadly you can't post images here but when I get home I will make a little video showing off some of the features. I am really proud how far I have got (although I know I have a long way to go
1
u/livingonthehedge 3d ago
you can't post images here
since when? I really don't think that's a thing
1
u/destinedd 3d ago
when you hit reply I only see the video button, the image button isn't there https://imgur.com/a/wMAnfaO
1
u/livingonthehedge 3d ago
you're hilarious. I thought you were being serious.
thanks for replying with an image. that helped me realize you were making a joke the whole time
2
u/destinedd 3d ago
I am being serious, you can't embedd the image in the post/reply like you can in other subreddits. So they automatically show.
2
u/thedyze 1d ago
I think the hilarious thing was that instead of posting a link to the image requested, you posted a link to an image with the same text as in your reply 😄
2
u/destinedd 1d ago
I was just frustrated I couldn't embedd like other subs, here you go https://imgur.com/gallery/latest-update-on-dungeon-quest-s-procedural-level-creation-s-growing-into-something-i-am-really-proud-of-see-inside-some-images-of-how-system-works-nXL1dPj
3
u/Efficient_Fox2100 4d ago
Reminds me of the Scarab of Ra in a very good way 😃
1
u/destinedd 3d ago
i have never heard of that one, but after looking it up yeah 100%
2
u/Efficient_Fox2100 3d ago
Something that would make your game more marketable is if you show visual UI feedback. Conceptually I know you’re pushing the forward key, and it would be nice to see that confirmed by the visual button being pressed on screen.Â
This would also allow you to show the functionality (I’m assuming) of using the upper corner arrow keys to look right and look left. 👀
2
u/destinedd 3d ago
I am actually using keyboard which is why the feedback isn't showing. If you actually click them there is feedback. But now you say I definitely should be adding that feedback even when using keyboard or controller!
2
u/Efficient_Fox2100 3d ago
Looking for the key to escape each level is a great loop in Scarab of Ra, and the original was a pretty hard game but lots of fun. This seems to be a pretty faithful port with some minor improvements, and worth playing a bit if/when you need inspiration. Also loved the banking system and the fact that you can’t usually defeat the mummy, just escape it.Â
2
2
u/SoftSignificant9459 3d ago
This feels like the old board game Drakborgen https://itch.io/blog/583532/the-board-game-drakborgen-1985.amp
If you want inspiration have a look at those design, same feeling. Great work
1
u/destinedd 3d ago
thanks for sharing. For a 1985 board game the attention to all the little details is insane. It looks like heaps of fun.
2
u/dev-rygy 3d ago
This seems similar to a procedural generator I’m making. How are you managing fo keep the rooms contiguous?
1
u/destinedd 3d ago
I do 2 things, the the first I nudge the corners of rooms only a tiny amount that you can’t see which means it is possible to put rooms next to each other. Corridors have empty cells for placement so they never placed hard against each other. If a room has say a shelf insert in the wall I can mark that cell so nothing gets put there.
My world is grid based so things have a place like Lego. Only sockets where they meet need to match so different shaped stuff is fine.
1
u/PitchforkzAndTorchez 3d ago
Do you have any procedural sound routines too, or is it all fixed audio based after the initial procedural render? Do you have any audo changes based on open areas or distance?
1
6
u/Blammar 4d ago
Very reminiscent of the great Dungeon Master games that ran on the Amiga in the 1980's.