gabwebdesign
10/12/2017 - 3:15 PM

Frame by Frame Un ejemplo para frame by frame desde un sprite. http://goo.gl/vRLUNP

Frame by Frame Un ejemplo para frame by frame desde un sprite. http://goo.gl/vRLUNP

function openBox(){
    _count-=210;
    if(_count>=-1400){
        peanut.style.backgroundPosition = 0+'px '+_count+'px';
    }else{
        clearInterval(_peanutLoop);
    }
}