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

Isometric TileSet support #30

Open
ilievmark opened this issue Jan 5, 2025 · 1 comment
Open

Isometric TileSet support #30

ilievmark opened this issue Jan 5, 2025 · 1 comment

Comments

@ilievmark
Copy link

Hello

It might be Im missing something, but want to ask
If there a way to make the generator support isometric tilesets?

So I have a sample like that
Screenshot 2025-01-05 at 19 25 48

So, the expected result is rombous-like generation
But the actual result is that generator trying to use tileset in square pattern
Screenshot 2025-01-05 at 19 31 37

Is that customization available at the moment?

Thank you in advance!

@AlexeyBond
Copy link
Owner

AlexeyBond commented Jan 6, 2025

Hi. The generator is able to work with isometric tilemaps, at least in some conditions. There may be multiple issues in your case:

  1. You may be using unsupported tileset layout or your layout may require additional configuration. Currently, the generator may work only with tileset layouts where a tile coordinate axes correspond to the same spatial axis for all tiles. It should work well with diamond layouts (but generated region shape will be a diamond as well). It may work with stairs layouts, but that would require a change of axes directions in rules settings (and a generated region will have a shape of a skewed rectangle).

    Your output screenshot suggests that you're using a stacked layout, which won't work as one of tilemap coordinate axes changes it's spatial direction for every next tile:
    image

  2. The sample is missing allowed adjescent tiles for some tiles in some directions.
    image

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