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

Issue with is-touching Block #3762

Open
willywillycow opened this issue Sep 30, 2022 · 1 comment
Open

Issue with is-touching Block #3762

willywillycow opened this issue Sep 30, 2022 · 1 comment

Comments

@willywillycow
Copy link

willywillycow commented Sep 30, 2022

PLEASE DOWNLOAD AND OPEN THIS PROJECT FIRST

测试作品.sb3.zip

Expected Behavior

When you click the green flag, the script in the dot sprite runs and detects touching the square sprite, and the sprite says "true".

When you click the script in the dot sprite, it runs and detects touching the square sprite, and the sprite says "true".

Actual Behavior

When you click the GREEN FLAG, the script in the dot sprite runs and detects touching the square sprite, and the sprite says "true".

When you click the SCRIPT IN THE DOT SPRITE, it runs. FIRST TIME the script detects touching the square sprite and the sprite says "true", BUT THE SECOND TIME the script doesn't detect touching the square sprite for some reason and therefore the sprite doesn't say "true".

Steps to Reproduce

  1. Make a sprite with a costume of a 1x1 dot in bitmap mode.
  2. Make another sprite with a random costume.
  3. Move the dot sprite so that you are sure that it touches the random costume sprite. If you are too blind to see, you can know this by adding the script in the example project to your dot, changing the targeting sprite to your random costume sprite, and then clicking the GREEN FLAG, letting the script run to check if they are touching.
  4. Get an if-touching block in the dot sprite, and click on it to let it detect if touching the random costume sprite.
  5. CLICK on the block and let it run.
  6. First time returns "true", the second time gives you up & lets you down.

In addition, changing the dot's costume and restoring it (manually, as far as I've tested) seems to let it return to the original "state" of first time yep second time whoops.

System Details

Don't think it matters because I've tried it both in the app and the browser, asked others to try it and got the same result.

But anyway I got MacBook Pro (Retina, 13-inch, Late 2012) (I know it's rubbish but don't judge it), macOS Catalina 10.15.7

@cwillisf
Copy link
Contributor

cwillisf commented Oct 6, 2022

I'm sorry the is touching block is trying to run around and desert you! Seriously though, we're no stranger to bugs, but they don't always come with such detailed repro steps. I appreciate your effort to make sure we both know what's been going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants