Comments (5)
The "replace all tiles of a kind" is covered by the "select all tiles of a kind" + "fill tool" (when holding shift it fills the selection). As a context menu item it also has the problem of selecting with which tile to replace it. The other two sound good.
from tiled.
Ok I started implementing that.
Now I have problems with tiles and cells, since you can only select tiles, but at a map there are cells
(tiles with flipped=yes/no attribute) .
My idea would be to make it a menu entry in the layer menu and to use the current stamp.
That would mean this way of handling:
- select all tiles you want to replace/remove and have them in your stamp
- LayerMenu->"Select all tiles of these"
-> Now this behaves like the selection tool: A selection will be setup, at which the region will cover all the
cells within the selection - Within that selection you can either use the erase tool or the stampbrush tool to replace/remove all the tiles in the region.
from tiled.
My idea would be to simply ignore the flipped state of the cells for the tileset right-click menu. We can have a different approach for the map, probably an additional tile selection tool that selects all cells that are the same as the clicked one. Similar to the Select by Color Tool in GIMP.
from tiled.
I think, that this is an inconsistent approach.
First we should do care for the flipped state, since every other tool does.
(Second I would not put it into a rightclickmenu, since all other tools are either in toolbars or in the menu)
from tiled.
I think this would be better handled by having a "contiguous" toggle (on by default) to the Bucket Fill Tool and the Magic Wand. This would be consistent with how image editors tend to handle similar scenarios, and it would eliminate the need for Select Same Tile as a separate tool.
For replacing a tile, a dedicated Replace Tile Tool would be useful. While Select Same Tile + Shift+Fill does work (or just non-contiguous Bucket Fill, if that's added), it gets quite tedious if the tile exists with multiple flips or on multiple layers. I wrote a scripted tool for this that reconciles flips and works across multiple layers and it's been a great time saver, would be great to see as a built-in feature. Perhaps a good replacement for the redundant Select Same Tile tool ;D
from tiled.
Related Issues (20)
- Idea: To export Objects Only JSON file HOT 2
- Add a Selected Tile Preview to "Shape Fill Tool", just like the "Stamp Brush" has HOT 6
- tmxrasterizer's --hide-layer doesn't work with group layers HOT 1
- Scripting: Access Terrain Properties
- Issues compiling in Windows (newbie) HOT 3
- Automapping stops working when a project's rules.txt is modified during runtime. HOT 3
- "Blob Tileset" points to a broken link HOT 2
- Add map.fileName in tiled.registerMapFormat -> write HOT 2
- Unable to open a tmx file with a space in the filename using AppImage with the shell HOT 2
- Error with `libtiled` in Java 21: `java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException` HOT 1
- Any AI generated plugin? HOT 1
- Tile Animation Editor may not show additional tiles if source image resized
- World Map chunks getting loaded twice. HOT 4
- Scripting: Signal for brush changing
- Layer Blend Mode Property HOT 2
- Switch keyboard shortcuts for "Save As" and "Save All" HOT 3
- Custom Type Search/Filter HOT 2
- Patterned document background option
- AppStream metadata screenshots are missing a caption
- tileset not displaying HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiled.