Nukoi Mod

Save Zombs frm 𝚝𝚘𝚡𝚒𝚌𝚒𝚝𝚢

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
WHozNukoi_
Denně instalací
0
Celkem instalací
25
Hodnocení
0 0 0
Verze
1
Vytvořeno
31. 08. 2021
Aktualizováno
31. 08. 2021
Size
4,3 KB
Licence
neuvedeno
Spustit na

ZOMBS.IO Design [Purple Mod]

Zoom out script that can be used while using this-

// ==UserScript== // @name Zoom // @namespace http://tampermonkey.net/ // @version 1.1 // @description Zoom // @author Apex // @match http://zombs.io/* // @grant none // ==/UserScript==

let dimension = 1;

const onWindowResize = () => { const renderer = Game.currentGame.renderer; let canvasWidth = window.innerWidth * window.devicePixelRatio; let canvasHeight = window.innerHeight * window.devicePixelRatio; let ratio = Math.max(canvasWidth / (2984 * dimension), canvasHeight / (2932 * dimension)); renderer.scale = ratio; renderer.entities.setScale(ratio); renderer.ui.setScale(ratio); renderer.renderer.resize(canvasWidth, canvasHeight); renderer.viewport.width = renderer.renderer.width / renderer.scale + 2 * renderer.viewportPadding; renderer.viewport.height = renderer.renderer.height / renderer.scale + 2 * renderer.viewportPadding; }

onWindowResize();

window.onresize = onWindowResize;

window.onwheel = e => { if (e.deltaY > 0) { dimension = Math.min(1.35, dimension + 0.01); onWindowResize(); } else if (e.deltaY < 0) { dimension = Math.max(0.1, dimension - 0.01); onWindowResize(); } }