Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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!