Is this a glitch in the beta?


#1

http://community.hopscotch-staging.com/p/y3l4yvd4x
This made on the latest beta
Tap the red ball to make a mushroom clone.
Press the X to drag the X around
When mushroom clones created it forever checks if the X x position is greater or less than itself and moves to the X x position at a random change x of 0.5 to 1.5 when moving right and -.5 to -1.5 when moving left.
The mushrooms continually move at the random change x when moving right, but they all move the same change x when moving left.

Is my code wrong or is this a glitch in the new beta.
Asking for help
@Liza
@Rawrbear
@AHappyCoder
@GoatLord
@Kiwicute2016


#2

???
I dunno…
This seems like…?


#3

I'm not very good at fixing bugs, btw​:grimacing:


#4

Oh you liked it! Thnx!


#5

My Bed time! Bye!


#6

Bye.It's only 6:29 pm for me


#7

Are you certain that they all move at the same speed? because for me, they are definitely moving differently, but the difference is very small the way you coded it.


#8

It seems to have something to do with the fact that -.5 is greater than -1.5. When I change the code so that the mushroom moves to X's x position at a random change of -1.5 to -.5, it works as expected.


#9

Thanks @Mathgirl for solving that issue.