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

Improve collision API for tiled maps #141

Closed
bitbrain opened this issue Jul 31, 2018 · 0 comments
Closed

Improve collision API for tiled maps #141

bitbrain opened this issue Jul 31, 2018 · 0 comments
Assignees
Labels
🗺 tmx TiledMap editor issues

Comments

@bitbrain
Copy link
Owner

Currently, the API provides a set of isCollision methods, some of which accept a GameObject argument. This method is excluding the object collision when provided. This is not very clear from a user perspective.

Refactor the API to support the following method variations:

  • isCollision checks for a collision, independent of game objects
  • isCollisionExcept checks for collision, except the game object provided
  • isCollisionOnly checks for collision, but only the game object provided
@bitbrain bitbrain added the 🗺 tmx TiledMap editor issues label Jul 31, 2018
@bitbrain bitbrain added this to the Version 1.0.0 (Initial Release) milestone Jul 31, 2018
@bitbrain bitbrain self-assigned this Jul 31, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗺 tmx TiledMap editor issues
Projects
None yet
Development

No branches or pull requests

1 participant