How to create dungeon using dungeon generator at specific position?

So I have been racking my brain to read through and understand the procedural generation in the Dungeon Generator extension for G Develop but every time it creates the dungeon only starting from (0,0) i.e. top part of the screen.
How can I control the origin point from which it should start creating the dungeon?

Hmmm, I don’t see a way either. If there isn’t then maybe you can reach out to the creator and ask for the feature. You could also try to modify the function or move the objects after they’re added.

You can put all of the objects in a group and then add to the x and Y using the group name. Don’t try to go to a specific location, you would need to add a value to the existing location otherwise they’d all move to the same location. It would only take 1 action although it’s not the most efficient way to do things. One move wouldn’t be too intense.

@Keith_1357 Thanks for your suggestions!
I have already posted in the creator’s discord and waiting for a reply there.

However, meanwhile, I was trying out your suggestion to group the objects but how can I do that ?

  1. The extension runs a procedural generation algorithm and starts placing objects in the window , but how can I group all of those into one group? (Basically assign the output from this extension to one object or group)

I’m not familiar with the extension. Does it create them all at once or add them as the player moves. If it adds them as the player moves then you probably can’t move them.

Why do you want to choose a start position?

Can you choose different layers. Maybe the solution is to move the layer / camera or place it on different layers and move that layer camera.

I was earlier actually thinking of doing something at the layer level to move the objects but right now thanks to your suggestion I discovered that the action ‘Change camera Y position’ actually had a parameter for the layer and it did the job!!

Thank you so much! :smile: :+1:
Really appreciate your help

1 Like