WeiWeiXinNet/Games/game7/gameFN.js

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

function VectorlightGame() {
    this.browser = "";
    this.deviceName = "Web";
    this.pageID = -1;
    this.gameWidth = 320;
    this.gameHeight = 460;
    this.userID = "";
    this.userIDDisplay = "";
    this.instanceID = "";
    this.useTouch = false;
    this.baseURL = "";
    this.rootID = "";
    this.tick = 0;
    this.splashTimer = 60;
    this.splashOpacity = 0;
    this.serviceURL;
    this.loadScrollY = 0;

    this.gameInit = function (rootElementID, gameID, width, height, interval) {
        if (interval < 20) {
            this.splashTimer = 3 * 60;
        }
        else {
            this.splashTimer = 3 * 30;
        }

        if (navigator.userAgent.match(/FireFox/i) != null) {
            this.browser = "FF";
        }
        else {
            switch (navigator.appName) {
                case "Microsoft Internet Explorer":
                    this.browser = "IE";
                    break;
                default:
                    this.browser = "WK";
                    break;
            }
        }

        this.pageID = gameID;
        this.deviceName = this.getDevice();
        this.rootID = rootElementID;

        this.gameWidth = width;
        this.gameHeight = height;

        if (this.deviceName != "Web") {
            this.useTouch = true;
        }

        this.userID = this.dg("hidun").value;
        this.userIDDisplay = this.userID;

        if (this.userID == "") {
            this.userIDDisplay = "Guest";
        }

        this.baseURL = "";
        if (window.location.hostname == "localhost") {
后面还有 249 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。