Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setTimeout(function () {
- $('.spinning').eq(0).animate({'background-position-y': '1300px'}, 500, 'linear', function () {
- $.each($('.symbol[id^="symbol0"]'), function (i, val) {
- $(this).css('background-position-x', reels[0][i] * -100 + 'px');
- });
- $(this).hide();
- });
- }, 100);
- setTimeout(function () {
- $('.spinning').eq(1).animate({'background-position-y': '2000px'}, 500, 'linear', function () {
- $.each($('.symbol[id^="symbol1"]'), function (i, val) {
- $(this).css('background-position-x', reels[1][i] * -100 + 'px');
- });
- $(this).hide();
- });
- }, 200);
- setTimeout(function () {
- $('.spinning').eq(2).animate({'background-position-y': '1700px'}, 500, 'linear', function () {
- $.each($('.symbol[id^="symbol2"]'), function (i, val) {
- $(this).css('background-position-x', reels[2][i] * -100 + 'px');
- });
- $(this).hide();
- });
- }, 300);
- setTimeout(function () {
- $('.spinning').eq(3).animate({'background-position-y': '1600px'}, 500, 'linear', function () {
- $.each($('.symbol[id^="symbol3"]'), function (i, val) {
- $(this).css('background-position-x', reels[3][i] * -100 + 'px');
- });
- $(this).hide();
- });
- }, 400);
- setTimeout(function () {
- $('.spinning').eq(4).animate({'background-position-y': '1600px'}, 500, 'linear', function () {
- $.each($('.symbol[id^="symbol4"]'), function (i, val) {
- $(this).css('background-position-x', reels[4][i] * -100 + 'px');
- });
- $(this).hide();
- checkResults(reels);
- });
- }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement