Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » [FIXED] Inconsistent results of "touching other sprite" block
- 1819
-
16 posts
[FIXED] Inconsistent results of "touching other sprite" block
For two perfectly adjacent sprites, the
Test project
My browser / operating system: Windows 7, Firefox 68.0, No Flash version detected
<touching [ v] ?>block returns different results depending on their position.
Test project
My browser / operating system: Windows 7, Firefox 68.0, No Flash version detected
Last edited by 1819 (April 15, 2021 03:25:35)
- banana439monkey
-
1000+ posts
[FIXED] Inconsistent results of "touching other sprite" block
CR, it only changes if the Y position changes. My browser / operating system: Windows NT 10.0, Chrome 76.0.3809.100, No Flash version detected
Banana
Banana
- 1819
-
16 posts
[FIXED] Inconsistent results of "touching other sprite" block
CR, it only changes if the Y position changes. My browser / operating system: Windows NT 10.0, Chrome 76.0.3809.100, No Flash version detected
Banana
Try going to Y=71. For me, when X<71 it's false while true for X>=71.
- shikma
-
59 posts
[FIXED] Inconsistent results of "touching other sprite" block
This is exactly what is happening to me too. Did you happen to solve it?
Link to my game where it happens
Link to my game where it happens
- 1819
-
16 posts
[FIXED] Inconsistent results of "touching other sprite" block
Nope, didn't feel like dealing with it anymore. And it's unlikely to gain enough traction to get fixed. This is exactly what is happening to me too. Did you happen to solve it?
Link to my game where it happens
- shikma
-
59 posts
[FIXED] Inconsistent results of "touching other sprite" block
I implemented a workaround to this issue.
When I check if my sprite is stuck in a wall (to move it back) I first try to raise the sprite 1 pixel up to see if I'm clear.
You can see it implemented in my game Sparky.
When I check if my sprite is stuck in a wall (to move it back) I first try to raise the sprite 1 pixel up to see if I'm clear.
You can see it implemented in my game Sparky.
- Discussion Forums
- » Bugs and Glitches
-
» [FIXED] Inconsistent results of "touching other sprite" block