Jump to content

Search the Community

Showing results for tags 'pointerup'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 2 results

  1. Hi, noticed issue with pointer up event on onPointerObservable for some android devices, looks like sometimes pointer up is not triggered just pointerDown and pointerCancel. So `totalPointersPressed` is counting up and is not lowered. Not sure if we can fix that on babylonjs side, as my fix was to add cancel listener to window and call onPointerUp there, it works but could lead to different issues, as click is triggered without releasing finger from the screen for example. I have seen it very rarely on newer devices as well but on this android it repeats every second click. Device: Android 5.1.1, Galaxy Note 4, Stock browser (Internet) Maybe someone have some ideas what could be done there, without breaking it for rest of the devices.
  2. Hi guys, I have this problem with the latest version of the library. I added an observable to scene.onPrePointerObservable to get notifications on pointer down and up on the scene and accordingly set a variable _isPointerDown to true or false, in the same way is done in FramingBehavior to detect the user is moving the scene. When I make a single click on the scene I correctly receive the two notifications for the pointer down and pointer up events. The problem occurs when I do dragging (moving the camera). I receive the notifications for pointer down and pointer move, even in the moment of button release (pointer up is missing). So the variable _isPointerDown remains true even when the pointer is not down anymore. The problem started with the latest version (3.3.0-alpha.0) Take a look at the following playground and at the console. https://playground.babylonjs.com/#VH9W33 Thanks, Matteo
×
×
  • Create New...