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

Eliminate contact judgments between the sprite and mouse pointer off-stage. #4514

Closed
wants to merge 1 commit into from

Conversation

TNTSuperMan
Copy link

@TNTSuperMan TNTSuperMan commented May 5, 2024

Issue.

There is a method to detect that the mouse pointer has moved to an off-stage object by placing the sprite off-stage.
Therefore, it is necessary to correct the internal mouse coordinates to in-stage coordinates before contact determination.

Proposed Changes

Correct the mouse pointer to in-stage coordinates starting at line 745 of /src/sprites/rendered-target.js.

Reason for change

Because there are many actions in Japan, such as detecting the report button and preview button, where hearts detect stars, add staging and items, and other actions that may activate malicious plans.

@TNTSuperMan TNTSuperMan marked this pull request as ready for review May 5, 2024 11:24
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2025
@TNTSuperMan TNTSuperMan reopened this Feb 19, 2025
@TNTSuperMan TNTSuperMan closed this by deleting the head repository Feb 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant