New extension: Wheel Scroll - #1122
Conversation
|
This could probably be put in Sensing+. |
|
Is wheel intentionally mispelled everywhere? |
In this word, I'm confusing the letter that needs to be written twice. |
This comment was marked as abuse.
This comment was marked as abuse.
|
Delta values should probably be accumulated so that if the user scrolls quickly, no data is lost. In other words, add up the delta values from all the scroll events since the past frame. That way, if the user scrolls down 90 times per second, that is properly recognized by the project as 3 scrolls per frame (at 30 FPS). The buffer can be reset between each frame. - deltaX = e.deltaX;
- deltaY = e.deltaY;
- deltaZ = e.deltaZ;
+ deltaX += e.deltaX;
+ deltaY += e.deltaY;
+ deltaZ += e.deltaZ; |
|
GitHub won't show me the dismiss review button because there's merge conflicts so I had to press the rerequest button instead. Don't read into it |
It fixed in this update (v1.3) |
|
Looks like this PR hasn't been worked on in a few months. @DDen4ik-12 would you like to consider collaborating on #2104? |
I will say that I am not against collaborating with the creator of that pull request. We just need to come to an agreement with him on how to combine our two extensions... |
Okay |
|
Like the banner, still would request that you and @LegoBrainBiker collab if you're up for it |
I'm working on it right now. I've updated the banner because I updated it in another gallery |
Nice |
|
How can i download this extention? |
|
@SharkPool-SP, okay, but just for the note: there was a collaboration with that PR: |
|
oh okay 👍 |
|
@DDen4ik-12 even if there was collaboration (which we encourage) your changes were merged into LegoBrainBiker's extension anyway and your credit was added in the header metadata, so this can still be closed. Thanks for understanding. |
|
can I use your banner as well? |
I created the "Wheel Scroll" extension. It has two event blocks that are runs scripts when the mouse wheel is scrolled.
Blocks
When mouse wheel scrolls
whenScrollThis event block runs scripts when the mouse wheel is scrolls in any direction.
When mouse wheel scrolls [SCROLL_TYPE]
whenScrollDirThis event block runs scripts when the mouse wheel scrolls in the specified direction.
This block has a
SCROLL_TYPElist with direction types: