Description
This extension adds the ability to create random 2D floor plans using a GDevelop Tilemap object. I have a test utility up on GitHub which shows it in use and provides some guidance as to how it is used. You can see it in use it at https://henspace.github.io/Floor-Plan-Utilities-Test/ This is the same project used for the Example file in this submission. The atlas used for the rooms needs to be provided by the user; it isn't part of the extension so there are no restrictions on the images used.
How to use the extension
- Put the behavior
FloorPlanBuilder on a Tilemap object.
- Edit the behavior's
Tile Mapping property to associate the 19 types of tiles that are used to create a floor plan to the tiles in the Tilemap's atlas.
- Paint the TileMap in the scene using any tile. This just defines the area available to the behavior when creating a floor plan.
- Add the event to build the random floor plan:
Build random floor plan using MyTilemap: doors 3
Checklist
AI usage
Example file
RandomFloorPlanExample.zip
Extension file
RandomFloorPlan.zip
Description
This extension adds the ability to create random 2D floor plans using a GDevelop Tilemap object. I have a test utility up on GitHub which shows it in use and provides some guidance as to how it is used. You can see it in use it at https://henspace.github.io/Floor-Plan-Utilities-Test/ This is the same project used for the Example file in this submission. The atlas used for the rooms needs to be provided by the user; it isn't part of the extension so there are no restrictions on the images used.
How to use the extension
FloorPlanBuilderon a Tilemap object.Tile Mappingproperty to associate the 19 types of tiles that are used to create a floor plan to the tiles in the Tilemap's atlas.Checklist
AI usage
Example file
RandomFloorPlanExample.zip
Extension file
RandomFloorPlan.zip