Nukoi Mod

Save Zombs frm 𝚝𝚘𝚡𝚒𝚌𝚒𝚝𝚢

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
WHozNukoi_
1日のインストール数
0
累計インストール数
25
評価
0 0 0
バージョン
1
作成日
2021/08/31
更新日
2021/08/31
大きさ
4.35KB
ライセンス
不明
対象サイト

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(); } }