Devlogs
v1.6 - Added a Customizable Level
FadeA browser game made in HTML5
Posted October 21, 2025 by justclaner
#patch #update #custom #endless
This is a small patch that fixed several minor bugs with some new features:
To better explain these parameters, the code generates each level from 5-8 and this custom level in these following steps:
- The X and Z dimensions are checked to see the amount of total tiles in the grid (the generation is grid-structured).
- Based on the percentage of tiles that should not have tall buildings, exactly the complement of this amount of tall buildings is generated in random positions.
- One empty room (without a door) is randomly placed on the map with the key to the first door room inside it.
- All door rooms are randomly placed with each subsequent door room's key in the previous door room. If shuffle door colors is on, then the door room order in which you must unlock will be randomized as opposed to Red -> Orange -> Yellow -> Green -> Blue -> ....
- The collectible is placed in the last room.
- For each empty tile that remains, an empty room is placed based on the chance of empty tile spawning a room.
To see more details, see these files in the Github Repository: