Closed Matthew-Moore240 closed 1 year ago
I see that in https://github.com/phetsims/friction/issues/321 you increased the dragging speed, but it is faster in https://github.com/phetsims/qa/issues/886 than in the published version. I feel like this is affecting Voicing. In the current version, "Jiggling faster, warmer" gets skipped over a lot, when it didn't in 1.6.0-dev.28. Moving the book with shift + arrow, allows me to hear all the alerts nicely.
When using ?printVoicingResponses, "Jiggling faster, warmer" appears in the console, but it is usually skipped over
Confirmed, I also see it a little faster in master now compared to published. https://github.com/phetsims/friction/commit/446cb774706cdcda9f84b6963be4d7b677f4253d may have been done by inspection, Ill bet this can be fixed by just manually reducing the speed a little bit to match production.
Yes indeed, it was empirically calculated. I tried to get it close. I wonder if there is another way to ensure it is identical.
Anyone could work on this by just altering the velocities in FrictionKeyboardDragListener
Over in https://github.com/phetsims/scenery/issues/1530 @samreid and @matthew-blackman and I found that there was a bug that meant that the current friction dragging would be dependent on how fast of a machine you were running.
Here, we can actually side-step that bug and just use dragVelocity, which we should have been doing over in https://github.com/phetsims/friction/issues/321 anyways. Updated above. @Matthew-Moore240 can you please confirm things are working better for you now on master?
@Nancy-Salpepi it would be good if you wanted to double check on this too, because of your report in https://github.com/phetsims/friction/issues/322#issuecomment-1402018007
The book is moving at a reasonable speed and Voicing is sounding much better with the change (and others) in master 🥳.
cherry-pick
ed into 1.6 branch, ready to verify.
This looks good in rc.3. Closing.
Test device Firefox 109.0 (64-bit)
Operating System Windows 11
Browser Firefox 109.0 (64-bit)
Problem description The sim seems to be moving at super speed. Using a single press of WASD or Arrow Keys sends the book almost all the way to the top/bottom/left/right
Steps to reproduce
Visuals These movements are all done with a single press of a direction.
https://user-images.githubusercontent.com/48224214/214161674-75d44f66-f93f-447a-a86f-562c8c6ccd82.mp4
Troubleshooting information: !!!!! DO NOT EDIT !!!!! Name: Friction URL: https://phet-dev.colorado.edu/html/friction/1.6.0-rc.1/phet/friction_all_phet.html Version: 1.6.0-rc.1 2023-01-17 16:32:22 UTC Features missing: touch Flags: pixelRatioScaling User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0 Language: en-US Window: 2048x1019 Pixel Ratio: 1.25/1 WebGL: WebGL 1.0 GLSL: WebGL GLSL ES 1.0 Vendor: Mozilla (ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0)) Vertex: attribs: 16 varying: 30 uniform: 4095 Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32) Max viewport: 32767x32767 OES_texture_float: true Dependencies JSON: {}