Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

How to use 10 touch points at the same time ?

New Here ,
May 03, 2014 May 03, 2014

I want to project game which use about 10 touch points? How can I use all of them at the same time ?

Please give me a sample code.

TOPICS
Development
352
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 03, 2014 May 03, 2014

Firstly you must know how many touch points can accept your device. For example iPad and iPhone can't handle more than 5.

1. Enable touch input mode by

Multitouch.inputMode=MultitouchInputMode.TOUCH_POINT;

2. Use same method as for mouse input but instead use TouchEvent API

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 03, 2014 May 03, 2014
LATEST

For example iPad and iPhone can't handle more than 5.

Not entirely correct. iPhone is limited to 5 touches but iPad supports up to 11 simultaneous touches.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines