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

Sprite vs Tilemap can now check for overlap, without trying to separate #1810

Merged
merged 1 commit into from Jun 17, 2015
Merged

Sprite vs Tilemap can now check for overlap, without trying to separate #1810

merged 1 commit into from Jun 17, 2015

Conversation

csclyde
Copy link
Contributor

@csclyde csclyde commented May 24, 2015

Currently, the ability to check for an overlap between a Sprite and Tilemap does not exist. This is because the overlapOnly property from collideHandler stops getting passed down the chain (or is passed, and ignored). This update brings the overlapOnly property down to the "separateTile" function. Within that function, an intersection between the Sprite and Tilemap will return true and not proceed with the separation.

@csclyde
Copy link
Contributor Author

csclyde commented Jun 9, 2015

Anything else I can do to get this merged? It would help greatly with some current issues I am facing.

photonstorm added a commit that referenced this pull request Jun 17, 2015
Sprite vs Tilemap can now check for overlap, without trying to separate
@photonstorm photonstorm merged commit 306fbf4 into phaserjs:dev Jun 17, 2015
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.

None yet

2 participants