-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with Object layer #67
Comments
Almost forgot: this is true in version 6.2 and 7.0. |
Thanks for opening an issue about this. I'm aware of these problems but I agree they should be fixed. |
Thanks for the quick reply. We are hoping to use tiled in our semi-indy game effort as a total world editor. Everything else works great and we are using tiled to instruct the game engine on how to build the visual world, the collision layer, and what art assets to apply via the properties. I was hoping to use the object layer to define in-game 'triggers' (teleporters, door openers, ect) |
Well, I hope this little issue doesn't stop you from using the objects layers for that anyway. If the displacement of the graphic is too disturbing you may also consider using plain rectangular objects to represent your teleports, etc. In the current version of Tiled you can add the objects to different layers to be able to assign different colors to them (in the next version it should also be possible to define a color for specific object types). |
We're still using it. :) I handle the code in this area and just applied a hack to the tmx file reader to offset the object Y values of the objects by -128 (we're using 128x128 tiles). So far, so good. While I have your ear, is there a way to define a layer "template" with some property tags already stubbed out? For the visual layers, we have 4 properties and what I do is create one layer, type in the 4 properties/values, then duplicate it. It works OK, but I worry someone doing content creation might typo one of the property names and it would cause trouble. Not a big deal, just a 'nice to have' thing. |
@Judasaq There is no support for any kind of template or predefined properties yet, but it would indeed be nice to have. |
…as being biased for an inverted y axis leading to an off-by-one difference between the tile position and rendered tile position.
Per discussion on #tiled, bjorn and I think that, because of the way how oversized tiles work, it does not make sense to change the way tiles are stored on object layers. Though of course, the snapping interface bug of course should be fixed, and when adding a tile to an object layer, it should hover beneath the mouse like it does on object layers, and support flipping. |
o11c straightened me out on the coord system. I agree with him/her that this should be a Won't Fix. Rather, the coord system should be documented. |
The above fix will be included in 0.7.1 since it just fixes the Insert Tile Objects tool without changing anything about the origin of tile objects or the TMX map format. |
…as being biased for an inverted y axis leading to an off-by-one difference between the tile position and rendered tile position.
When editing the Object layer, I have seen 2 problems:
Neither 1 or 2 are an issue while editing the standard tile layers.
-J
The text was updated successfully, but these errors were encountered: