Skip to content

New extension: Random Floor Plan#2189

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
extension/henspace/2188
Open

New extension: Random Floor Plan#2189
github-actions[bot] wants to merge 1 commit into
mainfrom
extension/henspace/2188

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

  1. Put the behavior FloorPlanBuilder on a Tilemap object.
  2. 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.
  3. Paint the TileMap in the scene using any tile. This just defines the area available to the behavior when creating a floor plan.
  4. Add the event to build the random floor plan:
Build random floor plan using MyTilemap: doors 3

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

AI usage

  • I used an AI to generate some part of the code.
  • I don't understand the generated code or I don't feel able to modify it.

Example file

RandomFloorPlanExample.zip

Extension file

RandomFloorPlan.zip


Extension by @henspace

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions Bot added the ✨ New extension A new extension label Jul 11, 2026
@github-actions github-actions Bot requested a review from a team as a code owner July 11, 2026 17:09
@henspace

Copy link
Copy Markdown

!update RandomFloorPlan.zip

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Successfully updated the extension.

@henspace

Copy link
Copy Markdown

Update corrects a few missing full stops that the bot missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ New extension A new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant