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)
- Automapping: Explicitly detect map edges HOT 9
- Zooming is wonky outside map bounds
- Allow changing default Object colour HOT 1
- Incorrect behavior of brushes when zooming in/out with the mouse wheel. HOT 2
- Fix image collection id gaps HOT 3
- Update godot 4 exporter to use the new tile rotation/flipping system in godot 4.2 HOT 4
- tmxviewer can't view json-based maps HOT 1
- tmxrasterizer as a git diff tool: override search path, and allow explicitly writing to stdout HOT 2
- Why Y coord have decrease as this go up (offset, objects position) ? HOT 1
- Godot 4 Exporter tscn files not updating HOT 2
- Freezing with high CPU usage on Apple Silicon (M1/M2) HOT 5
- Custom File Property Not Allowing a Relative Path HOT 2
- Tiled crash shortly after starting HOT 2
- Cropping map by selection leaves Tiled to think that tilesets are still in use HOT 1
- Keyboard shortcut typo for "Select Next Layer" and "Select Previous Layer" HOT 6
- Bug: Rotation of tileset collision is not well exported to godot 4. HOT 1
- 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
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.