Skip to content
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

Per layer map and tile size properties (or at least support for sub-tiles) #838

Closed
jasonsparc opened this issue Dec 11, 2014 · 1 comment

Comments

@jasonsparc
Copy link

I think it would be more fine-grained to specify collision points if tiles can be further subdivided into smaller sub-tiles (specially if the sub-tiles are really small), in the same way as how games like Diablo 2 specify special tile flags, like collisions.

Here's a picture of what I mean:

A single tile like this Tile from Diablo 2 subdivided into this Tile from Diablo 2

The example above is a 160x80 isometric tile from Diablo 2 which divides evenly to 32x16 tiles for a 5x5 subdivision.

The same can be done with an isometric map having 32x16 cell sizes with 160x80 tiles, but it would be very ugly editing them in the editor.

Here's another example from Diablo 2 of how they used it to define collision points and other stuff:
Sample from Diablo 2 Map Editor

I think these would be a great feature for the next release.

And if possible, the editor would probably be more flexible if, instead of an option for sub-tiles division, it would allow a per-layer map size and tile size properties. But I guess that would mean big changes in the tmx format, and also making the map-tag attributes redundant.

@bjorn
Copy link
Member

bjorn commented Dec 11, 2014

Thanks for the screenshots showing Diablo as an example. The feature has been requested before and is already covered by #149, so I'll close this one.

Indeed it is not trivial to implement. Though sub-tile support could be a little bit easier than being fully flexible, I would still rather make things fully flexible.

@bjorn bjorn closed this as completed Dec 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants