i have set a capx sample, to allow you to check what is wrong in my code.
my problem it's simple :
as designed for mobile and touch input, my game is an auto runner, and i need to set two actions with the touch
by defaut my player run then,
if i tap , the player should jump on landing back to run
if i touch and hold "mean in touch" i need to have the player who attack, then back to run"
for a reason i ignore even if i use the else function , i can't have something robust who work every time
i would really appreciate if an advanced construct users could check my capx to fix my wrong code
my capx is commented and very explicit with debug function , but the shorter as possible
thanks really to anyone who will fix my problem