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

Automatic tile transition resolution #166

Closed
DjThunder opened this issue Oct 6, 2015 · 2 comments
Closed

Automatic tile transition resolution #166

DjThunder opened this issue Oct 6, 2015 · 2 comments
Assignees
Labels
core Related to core modules new New feature or request
Milestone

Comments

@DjThunder
Copy link
Member

Provide an automatic tile transition resolution between different groups when supported by the tile sheet.

Example:

  • Forest - Forest Ground - Ground

By using output from #164 and the groups configuration, it should be possible to resolve transitions automatically with raw tiles (CENTER version), and replace it with its right transition.

An alternative is to store using a specific way the tile sheet, but here the goal is to be tile sheet order independent, as they can be automatically generated from a level rip.

Note: When analyzing existing transitions, consider tiles on map border as same group in order to avoid false transition.

@DjThunder DjThunder added new New feature or request lionengine-game labels Oct 6, 2015
@DjThunder DjThunder self-assigned this Oct 6, 2015
@DjThunder DjThunder added this to the LionEngine 8.2.0 milestone Oct 6, 2015
DjThunder added a commit that referenced this issue Nov 17, 2015
MapTileGroup feature added to handle groups independently.
Examples and tutorials updated, useless resources removed (generated).
GroupEditDialog added which allows to edit groups from a set of map.
Imports dialog updated.

Still have some things to fix and split (especially on dialogs).
@DjThunder
Copy link
Member Author

Review transition system to support both sides (ex: ground - tree, tree - ground). Instead of having two groups (ground, tree), there must be three groups (ground, tree, groundtree), where the third group contains tiles used for transition between the two groups.

@DjThunder DjThunder reopened this Nov 22, 2015
DjThunder added a commit that referenced this issue Nov 25, 2015
#190: Fix faulty tiles around modifications. Need to be improved.
@DjThunder
Copy link
Member Author

Transitive dependencies must also be handled.
Use case:

  • Put water over forest
  • Around water dot, transitive transition must be used to resolve the unexisting water - tree transition
  • Use water - ground, and then ground - tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to core modules new New feature or request
Development

No branches or pull requests

1 participant