OnClick and OnRelease Nifty GUI On Android (6 posts)

  • Profile picture of rocky rocky1p said 3 months, 3 weeks ago:

    Hello. I have a problem with nifty gui on android. It seem that when I click some panel or some elements
    OnRelease event isn’t occur althought OnClick event occur. Do anyone have the solution for this ???

    Thanks in advance :)

  • Profile picture of rocky rocky1p said 3 months, 3 weeks ago:

    This problem also occur with onHoverEffect too

  • Profile picture of rocky rocky1p said 3 months, 3 weeks ago:

    I have found that the NiftyMousePrimaryReleaseEven on android will be occur only when we touch the nifty gui the second time ( not the time that the we release the touch screen ). For NiftyMousePrimaryClickedEvent , its work correctly

    Does anyone know how to solved this problem ???

    thanks in advance

  • Profile picture of Addez Addez63p said 2 months, 2 weeks ago:

    @rocky said: Hello. I have a problem with nifty gui on android. It seem that when I click some panel or some elements
    OnRelease event isn’t occur althought OnClick event occur. Do anyone have the solution for this ???

    Thanks in advance

    I’m getting the exact opposite. My onRelease fires direcly when clicked. It does not wait for my finger to leave the screen. And onclick is never fired.
    Have you found a solution yet?

  • Profile picture of rocky rocky1p said 2 months, 2 weeks ago:

    Sorry I haven’t found the solution yet. However, instead of using Nifty GUI Event, I use Jmonkey onTouch Event , which mean that I have to re-implement all controls for nifty gui if I want to use them. This is not the solution that I would suggest thought :(

  • Profile picture of Addez Addez63p said 2 months, 2 weeks ago:

    Aww, sucks man..
    Gonna do some hard work then :(