I have pretty much the same controls on the race example of the engine. A AnalogOnScreenControl
and a button defined by a Sprite
.
The problem is, when I'm using the analog directional, touching the button does not trigger onAreaTouched
on the button sprite.
I even tried adding the button to the child scene (controller scene) but it doesn't register the secondary touch on the button.
Am I doing something wrong or is this a bug?
UPDATE
I am doing some debugging and apparently if I touch the control base, it triggers it's onAreaTouched
, and if I keep touching the controls and then touch the button (on the other side of the screen) the same onAreaTouched
from the control base is triggered. He's the only one receiving the touch event.
I really can't understand why this is happening.