britzl / defold-input

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects
MIT License
111 stars 26 forks source link

Cursor registering click at multiple places #15

Closed mikson60 closed 3 years ago

mikson60 commented 3 years ago

Hello,

I am having an issue where the cursor seems to be registering a click on multiple entities at the same time while the cursor is hovered only on top of another.

This happens more often when there are many sprites on the screen. A certain case: 1. the sprite I click on is in the middle of the screen; 2. the click is registered on that sprite and another sprite at the edge of the screen.

This usually seems to happen in a way that the faulty register happens at the edge of the screens.

What can I do about this?

britzl commented 3 years ago

Can you please share an example project where this happens?

britzl commented 3 years ago

Fixed in release: https://github.com/britzl/defold-input/releases/tag/2.8.5