Playn and multitouch?

I made this Button class to catch a pointer event:

public class Button implements Pointer.Listener {

  public void initLayer(Image defaultImage) {
    layer = parent.createImageLayer(this.defaultImage);
    layer.addListener(this);
  }

...

If I touch one of the instanciated buttons, I get onPointerStart and onPointerEnd events. But, if one of my buttons has already touched and I started touching the other, I do not receive the onPointerStart event of the second button.

Is there a way to get these events with a few taps with playn?

+3
source share
1 answer

The service is Pointerdesigned to abstract either by a simple touch interaction, or by interaction with a mouse. Thus, it does not support any multi-touch interactions. You will not receive notifications of any touch other than the first through the service Pointer.

, Touch, Touch . , , , ..

+6

All Articles