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

fix: platformEffector shouldCollide this argument #455

Conversation

dragoncoder047
Copy link
Contributor

The shouldCollide function of the platform effector is now called with the game object as the "this" argument, so it can refer to its own properties.

Copy link

pkg-pr-new bot commented Oct 14, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/kaplayjs/kaplay@455

commit: 9c6242f

Copy link
Member

@niceEli niceEli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a good simple change

@niceEli niceEli merged commit df66174 into kaplayjs:master Oct 22, 2024
2 checks passed
@dragoncoder047 dragoncoder047 deleted the fix-platformEffector-shouldCollide-this branch October 22, 2024 20:54
@dragoncoder047 dragoncoder047 restored the fix-platformEffector-shouldCollide-this branch November 15, 2024 14:46
@dragoncoder047 dragoncoder047 deleted the fix-platformEffector-shouldCollide-this branch November 15, 2024 14:55
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.

2 participants