Conversation
…only adjacent tiles)
…ere that's useful
2767mr
left a comment
There was a problem hiding this comment.
It works exactly as I would expect. I think this will actually have a major impact on mod developers.
Just some minor nitpicks (mostly internal stuff).
One small bug I found:
After selecting a different layer, the selection box is not rendered properly.
We should probably document which .json file does what and how it is structured but I wouldn't block the PR on that.
|
|
||
| // cancel current selection when out of bounds | ||
| const phaserLayer = this.layer.getPhaserLayer(); | ||
| if (!this.rightClickStart || !this.rightClickEnd || !phaserLayer) { |
There was a problem hiding this comment.
You also need to check phaserLayer.layer for undefined otherwise there is an error is the user deletes all layers and then interacts with the tile selector
| if (!this.rightClickStart || !this.rightClickEnd || !phaserLayer) { | |
| if (!this.rightClickStart || !this.rightClickEnd || !phaserLayer || !phaserLayer.layer) { |
There was a problem hiding this comment.
should be fixed, but would be good if you could try it out a bit. There could be some edge cases left
Can you elaborate a bit? I don't know what you mean |
|
fixed issues |
I don't know what you mean. The tile selector always had a fixed size |
|
I was sure that it did resize at some point and did some digging. Apparently, 5 years ago in 0.4.0 it would resize itself to fit the tileset. Obviously, I do not expect you to add it back in this PR (or at all for that matter) |



This pull request adds two things
Custom JSON Configurations
Users can now provide custom JSON configs for the map editor through mods.
Implementation Details:
Usage:
map-editorfolder in your mods directory:Improved Autotiles
This update enhances autotile functionality and introduces a new autotile type.
Changes:
Autotile Types:
Height 2 autotiles:
4x4 autotiles:
I made a simple tool to help creating autotile definitions: https://github.com/Vegita2/cc-autotiler