GithubHelp home page GithubHelp logo

Comments (5)

emepetres avatar emepetres commented on May 22, 2024

Hi @yoannmoinet , is this implemented? Thanks for your work!

from nipplejs.

yoannmoinet avatar yoannmoinet commented on May 22, 2024

No it's not.

I don't think this is needed or required by anyone after all.
Never saw any joystick implement this feature.

Do you need it? What would be your use-case?

from nipplejs.

emepetres avatar emepetres commented on May 22, 2024

Thanks @yoannmoinet , what I'm trying to achieve, that I think would improve the user experience, is the following:

Lets say the user takes the joystick and goes up surpassing the threshold with its finger because it wants go up very fast. Then, it want to decrease the velocity a little bit, and moves the finger slowly down but, as the finger is already out of the threshold, it is not going to do anything until it reaches the threshold.

So to avoid this what I would want is that the joystick would be responsive to the finger/mouse even if it is outside the threshold, because in a screen the user gets out of it many times wihtout noticing. One way to achieve this is by doing the joystick to follow your finger/mouse when you surpass the threshold.

from nipplejs.

matthewrobb avatar matthewrobb commented on May 22, 2024

Working on this myself currently. A good example of this type of feature can be found in the mobile game Brawl Stars. I saw a WIP implementation here, any interest in this picking back up?

from nipplejs.

yoannmoinet avatar yoannmoinet commented on May 22, 2024

It is being implemented in #160
And it looks promising, very close to be shipped.

from nipplejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.