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

Collision Properties #51

Open
kingnobody8 opened this issue Feb 5, 2017 · 0 comments
Open

Collision Properties #51

kingnobody8 opened this issue Feb 5, 2017 · 0 comments

Comments

@kingnobody8
Copy link

Tile collision information is saved as an ObjectGroup, however the Tile class does not accurately represent that relationship. Instead it circumvents parsing an ObjectGroup and individually parses the list of objects. This means that saved data about the ObjectGroup (such as name, visibility, offset, color, properties, ect) is not available. You can see this in TmxTile.cpp lines 101-119.

I suggest changing the Tile class to contain an ObjectGroup, rather than a list of Objects. This way all the information for an ObjectGroup will be properly included.

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

1 participant