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

Add wangsets parsing #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add wangsets parsing #93

wants to merge 2 commits into from

Conversation

Baalmor
Copy link

@Baalmor Baalmor commented Sep 14, 2022

Hey, if you markup a tilemap with the editor, it is possible to create tilesets in which each tile represents one of many same group tiles. For example, you need some visual randomness in your cave map, so you make 5 tiles of a northern wall of a cave, then another 5 for the western side, etc. So you group them in a cheek set "cave" and then mark them with sides like northern tiles are marked with "north" and western - "west".
However, this part was not parsed in the original code, so I implemented it myself. This code simply parses and adds wangsets in the structure, so you can use it later in your code.

baalmor and others added 2 commits September 14, 2022 12:24
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

Successfully merging this pull request may close these issues.

1 participant