scratch icon indicating copy to clipboard operation
scratch copied to clipboard

20160824, xposition of variable shows tenth of pixel

Open heppg opened this issue 9 years ago • 4 comments

in legacy, the xposition or yposition variable watchers display interger only. In current scratch, there are decimal places shown.

heppg avatar Aug 30 '16 20:08 heppg

So they do. Shouldn't!

timrowledge avatar Sep 06 '16 19:09 timrowledge

I'm confused now. In original Scratch image I see one decimal placement of the time for the x/y position of a sprite when looking at the 'x position' or 'y position' blocks, which is just what I see in the latest NuScratch. I can make a nasty mess in both version if I do set x pos -32 change x by 0.4 click on a 'x position' block and get a typical floating point ridiculous -31.499999999999 type value. Sigh. But at least it is both versions!

For the position watcher in the script editor area I only see integer values in both versions.

For the cursor x/y position below the stage I see integer in original scratch and... no moving values in NuScratch. Oh rats.

timrowledge avatar Sep 11 '16 03:09 timrowledge

...And yet in the released version of the image the cursor tracking is just fine. I'm sure there is a good reason but I don't remember it just now...

timrowledge avatar Sep 11 '16 03:09 timrowledge

GHP, if you can grab a screenshot of where the problem is it would help, I think.

timrowledge avatar Sep 13 '16 21:09 timrowledge