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

Support more than 1 tileset #3

Open
karl-zylinski opened this issue Sep 2, 2024 · 0 comments
Open

Support more than 1 tileset #3

karl-zylinski opened this issue Sep 2, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@karl-zylinski
Copy link
Owner

karl-zylinski commented Sep 2, 2024

Currently the Tile_IDs look like T0Y0X2 where T0 stands for Tileset 0.

However the generator doesn't support multiple tilesets.

Perhaps the Tile_IDs should instead be cave_Y0X2 where cave is the tileset name? And then I can implement import of multiple tilesets.

But that would make it possible for Tile_IDs to move around when adding more tilesets. You want people to be able to serialize the Tile IDs and never have the move.

Even with T1X3Y1 it's tricky. What decides what tileset is mapped to T1? How can we be sure that no new tileset ends up before T1?

Perhaps the naming must be like this:

tileset_0_optional_name.ase
tileset_1_optional_name.ase

etc

It will error if something is called tileset_ but not followed by a number.

@karl-zylinski karl-zylinski added the good first issue Good for newcomers label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant