Substitute for View Switcher/Flipper of android in libgdx

142 Views Asked by At

to display some animation in sequence of swipes ,I calculated the touch up and down of image ,then using tween ,swapped the animation like this:

if (xDnSc10 - xUpSc10 < 0) {
    // move11Right();
    // runAnimation10();
}
if (xDnSc10 - xUpSc10 > 0) {
    // move10Left();
    runAnimation11();
}

,but in case of more then one image, swipe/fling is creating problem. So is it possible to use viewFlipper sort of thing on android ,in libgdx

0

There are 0 best solutions below