defold
defold copied to clipboard
Problem with multitouch trigger sending released touch points
I am using a multitouch trigger. When there are more than two touch points and when I release these touch points at the same time, the actions of these released touch points are still sent to on_input. But when I release the touch points one by one and not at the same time, everything works fine.
I have attached a minimal project: My Project.zip
Expected behaviour
Stop sending multitouch trigger actions
Actual behaviour
Infinite sending of multitouch trigger actions
Steps to reproduce
- Add a multitouch trigger
- Create an object with a script.
- Give it the input focus.
- In the on_input function, output the action.touch of the multitouch trigger
- Build a project for the phone.
- Press three fingers on the screen (create three touch points).
- Try to release your fingers at the same time.
- View action.touch data output to the console
| Phone | Realme 6 pro |
| Android version | 11 |
| Assembly number | RMX2063_11_C.23 |
| Build time | 2023-09-18T10:17:07.827269 |
| Defold channel | editor-alpha |
| Defold editor sha | 0893837257f1a4ba8a58a43f164f216aa8f1813b |
| Defold engine sha | 00352cc02f24c12e6081245c0d5fb2e0b263d05e |
| Defold version | 1.5.0 |
| GPU | NVIDIA GeForce GTX 660/PCIe/SSE2 |
| GPU Driver | 4.6.0 NVIDIA 474.14 |
| Java version | 17.0.5+8 |
| OS arch | amd64 |
| OS name | Windows 11 |
| OS version | 10.0 |
Did you test on iOS or Android? Native build or html5?
In the table, I have specified the phone data. I used android 11. Native build 🙂
this issue merged into https://github.com/defold/defold/issues/7216