A downloadable tool

Download NowName your own price

This is another piece of software that I am developing for procedural generation.

This Resource allows you to create simple 2D Top-Down houses in a procedural way with several customization properties.

You can set up different styles, decorations, decoration probabilities or decorations that can/must appear exactly once (such as a chimney on the roof). There is a demo included that allows you to play a little bit (see also in the code to change the parameters, or try with your custom tilesets -I have included only dummy ones just for the demo!). Create a random house and see what happens when you go behind it, get close to a door, etc.!

Each exported variable in the main resource top_down_2d_house_generator is documented so you can hover to get an explanation. If you have questions however fell free to ask!

Doors are created with a built in animation for opening and closing and signals to communicate when they open or close. EDIT: I also added opening and closing signal, emitted at the beginning of the opening and closing process (these processes play the correspondng animation and disable/enable the collision shape of the door). This allows to make things such as adding a sound to the opening/closing process.

The roof can be made solid (think of games such those made in RPG Maker VX Ace, or the first generations Pokemon) or such that if the player, or other node types (you decide who!) goes beyond it, it becomes transparent (and you can decide how much).

As for other pieces of software that I am distributing you are free to use for commercial or non commercial projects as long as you credit me as "coros (boris marcone)". 

Please leave a comment if you find this project interesting! Thank you.


UPDATE. I have added new features to manage decorations, a new dummy roof type, and corrected the transparency behaviour, which affected only the roof, while the correct behaviour was to make transparent everything above the building width, walls included.

Download

Download NowName your own price

Click download now to get access to the following files:

2d_top_down_house_generator.zip 533 kB

Leave a comment

Log in with itch.io to leave a comment.