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?
source
share