Skip to content

Various issues with hitTest checks in NoName Game #5481

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

Closed
Toad06 opened this issue Oct 15, 2021 · 1 comment
Closed

Various issues with hitTest checks in NoName Game #5481

Toad06 opened this issue Oct 15, 2021 · 1 comment
Labels
bug Something isn't working hitTest Issues involving mouse picking and hitTest

Comments

@Toad06
Copy link
Member

Toad06 commented Oct 15, 2021

NoName Game


Unexpected collisions when changing the canvas size

  • Type something in the input, then click the red dot.
  • Move the red dot to different points inside the "Start" circle. Notice that everything is fine. Then collide with any wall.
  • Click the "Set to 1000x1000" button in the HTML page (or stretch the window if you're using the desktop app).
  • Move the red dot again inside the "Start" circle. You should get an unexpected collision ("Oops" appears though you didn't hit anything) at some point (possibly almost immediately).

Unexpected collisions in the first rotating obstacle

  • Try to get through the first rotating obstacle.
  • You should not be able to make it even if the canvas is at its default size.
  • The obstacle uses the _rotation property: s1._rotation = s1._rotation - 2;. Changing this to a static value like s1._rotation = 33; shows the following image (the black square indicates where an unexpected collision still occurs).
    noname
@Toad06 Toad06 added the bug Something isn't working label Oct 15, 2021
@Herschel Herschel added the hitTest Issues involving mouse picking and hitTest label Oct 17, 2021
@Toad06
Copy link
Member Author

Toad06 commented Sep 3, 2022

Fixed by #7684.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hitTest Issues involving mouse picking and hitTest
Projects
None yet
Development

No branches or pull requests

2 participants