Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hi, 

Awesome tool! 

I'm trying to integrate the JSON maps into my game's dungeon editor. It would be way easier for me if the rooms/corridors were more explicit in the data structure. It is a challenge to programmatically deduct what rectangle represents a corridor or a room (except for rooms with notes).

Also, I would love to have access to the sources, do you plan to release them? .

Have a nice day!

I'm not planning to open the source, not while I'm still developing the generator, sorry.

In my code rooms and corridors are represented by the same class Room, that's why there is no explicit flag in JSON:

public inline function isCorridor():Bool
return ((w == 3 && h > 3) || (h == 3 && w > 3)); public inline function isJunction():Bool
    return (w == 3 && h == 3);
(+1)

Thank you for your answer, I was able to properly process the json, I will add your page to the credits!