有人玩 cocos creator 么?有 js 代码,能逆向回去么?

2018-09-13 15:02:21 +08:00
 me15000
(function() {
    var b = Math.floor;
    window.__require = function b(d, e, a) {
        function c(g, i) {
            if (!e[g]) {
                if (!d[g]) {
                    var j = g.split("/");
                    if (j = j[j.length - 1], !d[j]) {
                        var k = "function" == typeof __require && __require;
                        if (!i && k) return k(j, !0);
                        if (f) return f(j, !0);
                        throw new Error("Cannot find module '" + g + "'");
                    }
                }
                var h = e[g] = {
                    exports: {}
                };
                d[g][0].call(h.exports, function(a) {
                    return c(d[g][1][a] || a);
                }, h, h.exports, b, d, e, a);
            }
            return e[g].exports;
        }
        for (var f = "function" == typeof __require && __require, g = 0; g < a.length; g++) c(a[g]);
        return c;
    }({
        Car: [ function(a, b) {
            "use strict";
            function c(b, c, d) {
                return c in b ? Object.defineProperty(b, c, {
                    value: d,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : b[c] = d, b;
            }
            var d, f = Math.PI;
            cc._RF.push(b, "29660NrXMdGTrZRsbJb+QGO", "Car");
            var g = a("../shareData"), j = cc.Enum({
                Up: 0,
                Down: 1,
                Left: 2,
                Right: 3,
                ClockWise: 4,
                AntiClockWise: 5
            });
            cc.Enum({
                None: 0,
                Huitou1: 1,
                Huitou2: 2
            }), cc.Class({
                extends: cc.Component,
                properties: (d = {
                    speed: {
                        default: 100,
                        displayName: "行驶速度"
                    },
                    jiaoduTime: {
                        default: .2,
                        displayName: "漂移角度衰减时间(单位秒)"
                    },
                    shuaijian: {
                        default: .4,
                        displayName: "漂移角度衰减系数"
                    },
                    offsetJiaodu: {
                        default: 30,
                        displayName: "漂移时角度补偿"
                    },
                    maxJiaoduSpeed: {
                        default: 30,
                        displayName: "漂移时角度最大转动速度"
                    },
                    toJiaodu: {
                        default: 0,
                        displayName: "漂移转向延迟方向",
                        visible: !1
                    },
                    status: {
                        default: j.AntiClockWise,
                        type: j,
                        visible: !1
                    },
                    preStatus: {
                        default: j.AntiClockWise,
                        type: j,
                        visible: !1
                    },
                    target_v2: {
                        default: cc.v2(0, 0),
                        displayName: "牵引目标位置",
                        visible: !1
                    },
                    preJiaodu: {
                        default: 0,
                        displayName: "漂移前角度",
                        visible: !1
                    }
           
})();
2746 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://ex.noerr.eu.org/t/488957

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX