Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So, yes, I tried to extract all tiles from room and converted their coordinates to world coordinates. Now I can spawn anything in particular places inside room. Thank you. Is it the only one way to do it or maybe you know another approach? :)

Do you have any specific requirements for this? What’s your goal? One approach that is sometimes useful is to manually mark places where it’s valid to spawn something. You can use empty game objects to mark suitable places and then later pick some of these places and spawn some decorations/enemies there. That way, you have complete control over where things can spawn and you can also randomize. The downsize is that you have to mark these positions manually when creating room templates.

Thank you a lot for advices, I think that I managed to resolve the problem :)