Greasy Fork is available in English.

Tartışmalar » Oluşturma İstekleri

script request littlebigsnake game

§
Gönderildi: 17.01.2020
Düzenlendi: 17.01.2020

script request littlebigsnake game

Hi,

I request script for littlebigsnake.com game. Snake Speed and Zoom would be great. Anything else you can think of would be helpful.

I was not able to find script tag so I am pasting what I have tried. I am novice so it didn't worked what I found from the game source page and modified 2 values.

tried below code for zoom out but didn't worked. some error related $

<script type="text/javascript">
    $(window).on('resize', function () {
        draw();
    });

    function draw() {
        var w = $(window);
        var defaultWidth = 2080;
        var defaultHeight = 1200;
        var contentScale = Math.min(/*w.width() / defaultWidth,*/ w.height() / defaultHeight) * 1;//0.8;
        $("#gamePanel").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#preloader").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#leafs").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#leafsDark").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#screenConnectionLost").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#screenForgot").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});

        var smartScale = Math.max(Math.min(contentScale, 1), 0.75);
        $("#mobileSignInPanel").css({transform: "translate(-50%,"+ ((1 - (contentScale*0.8 )) * 50) +"%) scale(" + (contentScale*0.8 ) + ")"});
        $("#officialSitePanel").css({transform: "translate(-50%,0%) scale(" + (smartScale) + ")"});
        $("#news").css({transform: "translate(-50%," + ((1 - smartScale) * 50) + "%) scale(" + (smartScale) + ")"});
        $("#copyrightPanel").css({transform: "translate(-50%," + ((1 - smartScale) * 50) + "%) scale(" + (smartScale) + ")"});


        var smartScale = Math.max(Math.min(contentScale, 1), 0.75);
        $("#iframe_buttons_panel").css({transform: "scale(" + smartScale + ")"});
    }

    draw();
</script> 
§
Gönderildi: 19.01.2020

Can anyone help on this request.

§
Gönderildi: 23.11.2020

Zoom global little big snake terbaru

§
Gönderildi: 26.12.2022

idea! add the unlimited gems and coins for the legendary skins!

§
Gönderildi: 02.02.2024

can you please make a zoom and vip hack and unlimited coins and gems

§
Gönderildi: 17.02.2024

Somebody needs to make a little big snake hack

§
Gönderildi: 24.03.2024

script request littlebigsnake game

Hi,

I request script for littlebigsnake.com game. Snake Speed and Zoom would be great. Anything else you can think of would be helpful.

I was not able to find script tag so I am pasting what I have tried. I am novice so it didn't worked what I found from the game source page and modified 2 values.

tried below code for zoom out but didn't worked. some error related $

<script type="text/javascript">
    $(window).on('resize', function () {
        draw();
    });

    function draw() {
        var w = $(window);
        var defaultWidth = 2080;
        var defaultHeight = 1200;
        var contentScale = Math.min(/*w.width() / defaultWidth,*/ w.height() / defaultHeight) * 1;//0.8;
        $("#gamePanel").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#preloader").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#leafs").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#leafsDark").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#screenConnectionLost").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});
        $("#screenForgot").css({transform: "translate(-50%,-50%) scale(" + (contentScale) + ")"});

        var smartScale = Math.max(Math.min(contentScale, 1), 0.75);
        $("#mobileSignInPanel").css({transform: "translate(-50%,"+ ((1 - (contentScale*0.8 )) * 50) +"%) scale(" + (contentScale*0.8 ) + ")"});
        $("#officialSitePanel").css({transform: "translate(-50%,0%) scale(" + (smartScale) + ")"});
        $("#news").css({transform: "translate(-50%," + ((1 - smartScale) * 50) + "%) scale(" + (smartScale) + ")"});
        $("#copyrightPanel").css({transform: "translate(-50%," + ((1 - smartScale) * 50) + "%) scale(" + (smartScale) + ")"});


        var smartScale = Math.max(Math.min(contentScale, 1), 0.75);
        $("#iframe_buttons_panel").css({transform: "scale(" + smartScale + ")"});
    }

    draw();
</script> 

Cevap paylaş

Yanıt göndermek için oturum açın.