Edit of asset "Tileset Collision Generator (free version)" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Tileset Collision Generator (free version) | |
Description |
A plugin for the Godot Editor for automatically generating collision polygons for all tiles in tilesets. The algorithm determines if a pixel can be collided with via the alpha channel of the pixel. Everything that has an alpha value >= 40% is considered to be something that can be collided with. * Collision polygons can be adjusted after they have been automatically generated. * The tools only generates collision polygons for tiles which have no collision polygons yet. * The implementation uses multithreading for parallel generation of collision polygons for tiles. * The polygons are put on physics layer 0. This free version only generates collision polygons for images where the width is <= 240 pixel and height <= 240 pixel. The full version (which generates collision polygons for all images) can be bought [here](https://sanjox.itch.io/godot-collision-generator). ## How to install ### Via AssetLib 1. Open the plugin in the AssetLib. 2. Download it. 3. Activate the plugin under Project -> Project Settings... -> Plugins by checking "Enable". ### From repository 1. Download the files. 2. Move the folder "addons/tileset_collision_generator_free_version" into the folder "addons/" in your project. If the "addons" folder doesn't exist yet, create it first. 3. Activate the plugin under Project -> Project Settings... -> Plugins by checking "Enable". ## How to use 1. Select a TileSet file in the file browser in the Godot Editor. 2. Open the command palette (Editor -> Command Palette... or Ctrl+Shift+P) and run the command "Generate collision". You can check out the generated collision polygons by opening the tile set, activating "Paint" and selecting the first physics layer under "Paint Properties". ## Feedback You can send feedback to [email protected]. |
|
Category | 2D Tools | |
License | Proprietary | |
Repository Provider | GitHub | |
Repository Url | https://github.com/SanjoSolutions/tileset-collision-generator-free-version | |
Issues Url | https://github.com/SanjoSolutions/tileset-collision-generator-free-version/issues | |
Godot version | Godot 4.2 | |
Version String | 1.0.1 | 1.0.1 |
Download Commit | e2de2cea6c50bd88d9c5fd03cbb58f8cda0513c2 | e2de2cea6c50bd88d9c5fd03cbb58f8cda0513c2 |
Download Url (Computed) | https://github.com/SanjoSolutions/tileset-collision-generator-free-version/archive/e2de2cea6c50bd88d9c5fd03cbb58f8cda0513c2.zip | https://github.com/SanjoSolutions/tileset-collision-generator-free-version/archive/e2de2cea6c50bd88d9c5fd03cbb58f8cda0513c2.zip |
Icon Url |
https://raw.githubusercontent.com/SanjoSolutions/tileset-collision-generator-free-version/main/icon.png
|