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

Bug with renaming a variable marked "for this sprite only" #5024

Open
H-A-M-G-E-R opened this issue Nov 7, 2024 · 2 comments
Open

Bug with renaming a variable marked "for this sprite only" #5024

H-A-M-G-E-R opened this issue Nov 7, 2024 · 2 comments

Comments

@H-A-M-G-E-R
Copy link

How to do:

  • Start a new project
  • Create a new variable named "a" for this sprite only
  • Hide variable "a"
  • Duplicate "Sprite1" to "Sprite2"
  • Rename variable "a" to "b"
  • Place a "when flag clicked show variable b" on "Sprite2"
  • Navigate to "Sprite1" or "Stage"
  • Click on the flag
    The result: (rename .zip to .sb3)
    show variable for this sprite only bug.zip
    i used turbowarp.org, a fork of scratch
@H-A-M-G-E-R H-A-M-G-E-R changed the title Bug with renaming a variable marked "for his sprite only" Bug with renaming a variable marked "for this sprite only" Nov 7, 2024
@H-A-M-G-E-R
Copy link
Author

for real this time with scratch's online editor
show variable for this sprite only bug for real.zip

@H-A-M-G-E-R
Copy link
Author

and does a similar bug when renaming a sprite with variables marked "for this sprite only"
in

renameSprite (targetId, newName) {
the monitors are not updated

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

No branches or pull requests

1 participant