i want to change the animation frame , from the value stored in array. eg: array(a1,b0) and array(a1,b1).
if array(a1,b0) ------> set anim frame to (1)
if array(a1,b1) ------> set anim frame to (0)
i have stored and loaded the array on every start of the layout..every animation sets back to default state after reaching previous or next layout.i have done persist object. it solved layout problem.but, after restarting the game everthing is gone.only the array value remains.