[quote:370xdsqr]Thanks alot Nimos persist works with the project. But i was wondering if there is a way to make system create new layouts by itself like roguelikes. Or is it one layout lots of randomization .
What i ment is creating lvls infinitely like lemmings game without creating each level one by one ?
btw Dragonhelm looks awesome.
Thanks a lot
You cant make it create new layouts for you, what you would do is like I have done with my dungeon generator if you tried it?
It uses the same layout for creating the different dungeons, so it just resets the layout each time it does, So you would have to make something similar just working for your needs.
I guess that you see the game from the side, since you mentioned lemmings?
If you use tilemaps, I guess you could just make it start in the bottom and just go row by row and put in tiles so you would end up with a landscape.
You would ofc have to set up some rules so it doesn't create tiles in mid air and so on. But then when you want to make a new map, you just erase the old one, which can be done with one action. And you can just make the tiles quite small so it looks more smooth when they walk around it. And you can probably optimize it so the tilemap only covers some of the map and the rest are just background.
So it would look something like this, ofc you wouldn't be able to see the difference it in the actual game
If you don't use tilemap you can create environment objects that you just randomly spawn on the map and setup rules for how they should spawn as well. And as with the tilemap when you need to make a new one you simply destroy all of them and do it over.