godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.11k stars 69 forks source link

Add a way to copy and paste all the collisions for auto-tiles #739

Open edazpotato opened 4 years ago

edazpotato commented 4 years ago

Describe the project you are working on: 2D platformer

Describe the problem or limitation you are having in your project: It is very tedious to set up new auto-tiles for my project even though all of my tilemaps are laid out in exactly the same way

Describe the feature / enhancement and how it helps to overcome the problem or limitation: Copy and paste functionality for collisions for auto-tiles, the same as the copy-and-paste for bitmasks. This would help because since the layout of my tilemaps is always the same, I would only need to set up the collisions once

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:

Is there a reason why this should be core and not an add-on in the asset library?: This is already partially implemented for auto-tiles with the copy-and-paste feature for bitmasks, and I was surprised when I couldn't do the same for collisions

nikhilCad commented 4 years ago

You can duplicate the tileset resource and just change its texture

edazpotato commented 4 years ago

You can duplicate the tileset resource and just change its texture

Thanks, that is a good workaround!

Calinou commented 3 years ago

@groud Is this proposal still relevant with the new TileMap and TileSet editor?

groud commented 3 years ago

@groud Is this proposal still relevant with the new TileMap and TileSet editor?

I am not sure. The process has been simplified but I don't think there's a way to select a "collision template" and copy-paste it onto another set of tiles. The proposal might need to be rethinked for the new editor.