弹跳豆豆&

发布时间:2024年01月24日

欢迎来到程序小院

弹跳豆豆

玩法:弹跳的豆豆,上升的豆豆,点击鼠标左键弹起,弹到草坪上可以继续向上,
落在空中游戏结束,统计弹跳高度,快去弹跳吧^^。

开始游戏icon-default.png?t=N7T8https://www.ormcc.com/play/gameStart/257

html

<div?style="position:relative;"?id="gameDiv"></div>

css

body {
    text-align: center;
    background: #fff;
    padding: 0;
    border: 0;
    margin: 0;
    height: 100%;
}
html {
    -ms-touch-action: none; /* Direct all pointer events to JavaScript code. */
    overflow: hidden;
}
div, canvas {
    display:block;
    position:absolute;
    margin: 0 auto;
    padding: 0;
    border: 0;
}

js

(function(b)?{
????function?c(a)?{
????????for?(var?d?=?[],?l?=?1;?l?<?arguments.length;?l++)?d[l?-?1]?=?arguments[l];
????????if?(l?=?b.egret_string_code[a])
????????????for?(var?m?=?d.length,?e?=?0;?e?<?m;?e++)?l?=?l.replace("{"?+?e?+?"}",?d[e]);
????????return?l
????}
????var?e?=?function()?{
????????function?a()?{}
????????a.fatal?=?function(d,?a)?{
????????????void?0?===?a?&&?(a?=?null);
????????????b.Logger.traceToConsole("Fatal",?d,?a);
????????????throw?Error(b.Logger.getTraceCode("Fatal",?d,?a));
????????};
????????a.info?=?function(d,?a)?{
????????????void?0?===?a?&&?(a?=?null);
????????????b.Logger.traceToConsole("Info",?d,?a)
????????};
????????a.warning?=?function(d,?a)?{
????????????void?0?===?a?&&?(a?=?null);
????????????b.Logger.traceToConsole("Warning",?d,
????????????????a)
????????};
????????a.fatalWithErrorId?=?function(d)?{
????????????for?(var?l?=?[],?b?=?1;?b?<?arguments.length;?b++)?l[b?-?1]?=?arguments[b];
????????????l.unshift(d);
????????????(l?=?c.apply(null,?l))???a.fatal(l):?a.warning(c(-1,?d))
????????};
????????a.infoWithErrorId?=?function(d)?{
????????????for?(var?l?=?[],?b?=?1;?b?<?arguments.length;?b++)?l[b?-?1]?=?arguments[b];
????????????l.unshift(d);
????????????(l?=?c.apply(null,?l))???a.info(l):?a.warning(c(-1,?d))
????????};
????????a.warningWithErrorId?=?function(d)?{
????????????for?(var?l?=?[],?b?=?1;?b?<?arguments.length;?b++)?l[b?-?1]?=?arguments[b];
????????????l.unshift(d);
????????????(l?=?c.apply(null,?l))???a.warning(l):?a.warning(c(-1,?d))
????????};
????????a.traceToConsole?=?function(d,?a,
????????????m)?{
????????????console.log(b.Logger.getTraceCode(d,?a,?m))
????????};
????????a.getTraceCode?=?function(d,?a,?b)?{
????????????return?"["?+?d?+?"]"?+?a?+?(null?==?b???""?:?":"?+?b)
????????};
????????return?a
????}();
????b.Logger?=?e;
????e.prototype.__class__?=?"egret.Logger";
????b.getString?=?c
})(egret?||?(egret?=?{}));
(function(b)?{
????var?c?=?function()?{
????????function?b()?{
????????????this._hashCode?=?b.hashCount++
????????}
????????Object.defineProperty(b.prototype,?"hashCode",?{
????????????get:?function()?{
????????????????return?this._hashCode
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????b.hashCount?=?1;
????????return?b
????}();
????b.HashObject?=?c;
????c.prototype.__class__?=?"egret.HashObject"
})(egret?||?(egret?=?{}));
var?__extends?=?this.__extends?||?function(b,?c)?{
????function?e()?{
????????this.constructor?=?b
????}
????for?(var?a?in?c)?c.hasOwnProperty(a)?&&?(b[a]?=?c[a]);
????e.prototype?=?c.prototype;
????b.prototype?=?new?e
};
(function(b)?{
????var?c?=?function(b)?{
????????function?a(d)?{
????????????void?0?===?d?&&?(d?=?300);
????????????b.call(this);
????????????this.objectPool?=?[];
????????????this._length?=?0;
????????????1?>?d?&&?(d?=?1);
????????????this.autoDisposeTime?=?d;
????????????this.frameCount?=?0
????????}
????????__extends(a,?b);
????????a.prototype._checkFrame?=?function()?{
????????????this.frameCount--;
????????????0?>=?this.frameCount?&&?this.dispose()
????????};
????????Object.defineProperty(a.prototype,?"length",?{
????????????get:?function()?{
????????????????return?this._length
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????a.prototype.push?=?function(d)?{
????????????var?l?=?this.objectPool;?-?1?==?l.indexOf(d)?&&?(l.push(d),?d.__recycle?&&?d.__recycle(),?this._length++,
????????????????0?==?this.frameCount?&&?(this.frameCount?=?this.autoDisposeTime,?a._callBackList.push(this)))
????????};
????????a.prototype.pop?=?function()?{
????????????if?(0?==?this._length)?return?null;
????????????this._length--;
????????????return?this.objectPool.pop()
????????};
????????a.prototype.dispose?=?function()?{
????????????0?<?this._length?&&?(this.objectPool?=?[],?this._length?=?0);
????????????this.frameCount?=?0;
????????????var?d?=?a._callBackList,
????????????????l?=?d.indexOf(this);?-?1?!=?l?&&?d.splice(l,?1)
????????};
????????a._callBackList?=?[];
????????return?a
????}(b.HashObject);
????b.Recycler?=?c;
????c.prototype.__class__?=?"egret.Recycler"
})(egret?||?(egret?=?{}));
(function(b)?{
????b.__START_TIME;
????b.getTimer?=?function()?{
????????return?Date.now()?-?b.__START_TIME
????}
})(egret?||?(egret?=?{}));
(function(b)?{
????b.__callLaterFunctionList?=?[];
????b.__callLaterThisList?=?[];
????b.__callLaterArgsList?=?[];
????b.callLater?=?function(c,?e)?{
????????for?(var?a?=?[],?d?=?2;?d?<?arguments.length;?d++)?a[d?-?2]?=?arguments[d];
????????b.__callLaterFunctionList.push(c);
????????b.__callLaterThisList.push(e);
????????b.__callLaterArgsList.push(a)
????};
????b.__callAsyncFunctionList?=?[];
????b.__callAsyncThisList?=?[];
????b.__callAsyncArgsList?=?[];
????b.__callAsync?=?function(c,?e)?{
????????for?(var?a?=?[],?d?=?2;?d?<?arguments.length;?d++)?a[d?-?2]?=?arguments[d];
????????b.__callAsyncFunctionList.push(c);
????????b.__callAsyncThisList.push(e);
????????b.__callAsyncArgsList.push(a)
????}
})(egret?||?(egret?=?{}));
(function(b)?{
????var?c?=?function()?{
????????function?e()?{}
????????e.prototype.call?=?function(a)?{
????????????this.callback?&&?this.callback.call(this.thisObject,?a)
????????};
????????e.prototype.dispose?=?function()?{
????????????this.thisObject?=?this.callback?=?null;
????????????e.__freeList.push(this)
????????};
????????e.push?=?function(a,?d)?{
????????????var?l;
????????????l?=?e.__freeList.length???e.__freeList.pop()?:?new?b.RenderCommand;
????????????l.callback?=?a;
????????????l.thisObject?=?d;
????????????b.MainContext.__DRAW_COMMAND_LIST.push(l)
????????};
????????e.__freeList?=?[];
????????return?e
????}();
????b.RenderCommand?=?c;
????c.prototype.__class__?=?"egret.RenderCommand"
})(egret?||?(egret?=?{}));
__extends?=?this.__extends?||?function(b,?c)?{
????function?e()?{
????????this.constructor?=?b
????}
????for?(var?a?in?c)?c.hasOwnProperty(a)?&&?(b[a]?=?c[a]);
????e.prototype?=?c.prototype;
????b.prototype?=?new?e
};
(function(b)?{
????var?c?=?function(e)?{
????????function?a(d,?a,?b)?{
????????????void?0?===?a?&&?(a?=?!1);
????????????void?0?===?b?&&?(b?=?!1);
????????????e.call(this);
????????????this.data?=?null;
????????????this._type?=?"";
????????????this._cancelable?=?this._bubbles?=?!1;
????????????this._eventPhase?=?2;
????????????this._target?=?this._currentTarget?=?null;
????????????this._isPropagationImmediateStopped?=?this._isPropagationStopped?=?this._isDefaultPrevented?=?!1;
????????????this.isNew?=?!0;
????????????this._type?=?d;
????????????this._bubbles?=?a;
????????????this._cancelable?=?b
????????}
????????__extends(a,?e);
????????Object.defineProperty(a.prototype,?"type",?{
????????????get:?function()?{
????????????????return?this._type
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????Object.defineProperty(a.prototype,
????????????"bubbles",?{
????????????????get:?function()?{
????????????????????return?this._bubbles
????????????????},
????????????????enumerable:?!0,
????????????????configurable:?!0
????????????});
????????Object.defineProperty(a.prototype,?"cancelable",?{
????????????get:?function()?{
????????????????return?this._cancelable
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????Object.defineProperty(a.prototype,?"eventPhase",?{
????????????get:?function()?{
????????????????return?this._eventPhase
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????Object.defineProperty(a.prototype,?"currentTarget",?{
????????????get:?function()?{
????????????????return?this._currentTarget
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????Object.defineProperty(a.prototype,?"target",?{
????????????get:?function()?{
????????????????return?this._target
????????????},
????????????enumerable:?!0,
????????????configurable:?!0
????????});
????????a.prototype.isDefaultPrevented?=?function()?{
????????????return?this._isDefaultPrevented
????????};
????????a.prototype.preventDefault?=?function()?{
????????????this._cancelable?&&?(this._isDefaultPrevented?=?!0)
????????};
????????a.prototype.stopPropagation?=?function()?{
????????????this._bubbles?&&?(this._isPropagationStopped?=?!0)
????????};
????????a.prototype.stopImmediatePropagation?=?function()?{
????????????this._bubbles?&&?(this._isPropagationImmediateStopped?=?!0)
????????};
????????a.prototype._reset?=?function()?{
????????????this.isNew???this.isNew?=?!1?:?(this._isPropagationImmediateStopped?=?this._isPropagationStopped?=
????????????????this._isDefaultPrevented?=?!1,?this._currentTarget?=?this._target?=?null,?this._eventPhase?=?2)
????????};
????????a.prototype.__recycle?=?function()?{
????????????this.data?=?this._target?=?this._currentTarget?=?null
????????};
????????a._dispatchByTarget?=?function(d,?a,?m,?e,?c,?f)?{
????????????void?0?===?c?&&?(c?=?!1);
????????????void?0?===?f?&&?(f?=?!1);
????????????var?h?=?d.eventRecycler;
????????????h?||?(h?=?d.eventRecycler?=?new?b.Recycler);
????????????var?n?=?h.pop();
????????????n???n._type?=?m?:?n?=?new?d(m);
????????????n._bubbles?=?c;
????????????n._cancelable?=?f;
????????????if?(e)
????????????????for?(var?p?in?e)?n[p]?=?e[p],?null?!==?n[p]?&&?(e[p]?=?null);
????????????d?=?a.dispatchEvent(n);
????????????h.push(n);
????????????return?d
????????};
????????a._getPropertyData?=?function(d)?{
????????????var?a?=
????????????????d._props;
????????????a?||?(a?=?d._props?=?{});
????????????return?a
????????};
????????a.dispatchEvent?=?function(d,?l,?b,?e)?{
????????????void?0?===?b?&&?(b?=?!1);
????????????var?c?=?a._getPropertyData(a);
????????????e?&&?(c.data?=?e);
????????????a._dispatchByTarget(a,?d,?l,?c,?b)
????????};
????????a.ADDED_TO_STAGE?=?"addedToStage";
????????a.REMOVED_FROM_STAGE?=?"removedFromStage";
????????a.ADDED?=?"added";
????????a.REMOVED?=?"removed";
????????a.COMPLETE?=?"complete";
????????a.LOOP_COMPLETE?=?"loopcomplete";
????????a.ENTER_FRAME?=?"enterFrame";
????????a.RENDER?=?"render";
????????a.FINISH_RENDER?=?"finishRender";
????????a.FINISH_UPDATE_TRANSFORM?=?"finishUpdateTransform";
????????a.LEAVE_STAGE?=?"leaveStage";
????????a.RESIZE?=?"resize";
????????a.CHANGE?=
????????????"change";
????????a.ACTIVATE?=?"activate";
????????a.DEACTIVATE?=?"deactivate";
????????a.CLOSE?=?"close";
????????a.CONNECT?=?"connect";
????????return?a
????}(b.HashObject);
????b.Event?=?c;
????c.prototype.__class__?=?"egret.Event"
})(egret?||?(egret?=?{}));
(function(b)?{
????var?c?=?function(e)?{
????????function?a(d,?a,?b,?k,?c)?{
????????????void?0?===?a?&&?(a?=?!1);
????????????void?0?===?b?&&?(b?=?!1);
????????????void?0?===?k?&&?(k?=?0);
????????????void?0?===?c?&&?(c?=?0);
????????????e.call(this,?d,?a,?b);
????????????this.bytesTotal?=?this.bytesLoaded?=?0;
????????????this.bytesLoaded?=?k;
????????????this.bytesTotal?=?c
????????}
????????__extends(a,?e);
????????a.dispatchProgressEvent?=?function(d,?l,?m,?e)?{
????????????void?0?===?m?&&?(m?=?0);
????????????void?0?===?e?&&?(e?=?0);
????????????b.Event._dispatchByTarget(a,?d,?l,?{
????????????????bytesLoaded:?m,
????????????????bytesTotal:?e
????????????})
????????};
????????a.PROGRESS?=?"progress";
????????a.SOCKET_DATA?=?"socketData";
????????return?a
????}(b.Event);
????b.ProgressEvent?=?c;
????c.prototype.__class__?=?"egret.ProgressEvent"
})(egret?||
????(egret?=?{}));
(function(b)?{
????var?c?=?function()?{
????????function?b()?{}
????????b.CAPTURING_PHASE?=?1;
????????b.AT_TARGET?=?2;
????????b.BUBBLING_PHASE?=?3;
????????return?b
????}();
????b.EventPhase?=?c;
????c.prototype.__class__?=?"egret.EventPhase"
})(egret?||?(egret?=?{}));
__extends?=?this.__extends?||?function(b,?c)?{
????function?e()?{
????????this.constructor?=?b
????}
????for?(var?a?in?c)?c.hasOwnProperty(a)?&&?(b[a]?=?c[a]);
????e.prototype?=?c.prototype;
????b.prototype?=?new?e
};
(function(b)?{
????var?c?=?function(e)?{
????????function?a(d)?{
????????????void?0?===?d?&&?(d?=?null);
????????????e.call(this);
????????????this._captureEventsMap?=?this._eventsMap?=?this._eventTarget?=?null;
????????????this._eventTarget?=?d???d?:?this
????????}
????????__extends(a,?e);
????????a.prototype.addEventListener?=?function(d,?a,?m,?e,?c)?{
????????????void?0?===?e?&&?(e?=?!1);
????????????void?0?===?c?&&?(c?=?0);
????????????"undefined"?===?typeof?e?&&?(e?=?!1);
????????????"undefined"?===?typeof?c?&&?(c?=?0);
????????????a?||?b.Logger.fatalWithErrorId(1010);
????????????e???(this._captureEventsMap?||?(this._captureEventsMap?=?{}),?e?=?
????????????this._captureEventsMap)?:?(this._eventsMap?||?(this._eventsMap?=?{}),
????????????e?=?this._eventsMap);
????????????var?f?=?e[d];
????????????f?||?(f?=?e[d]?=?[]);
????????????this._insertEventBin(f,?a,?m,?c)
????????};
????????a.prototype._insertEventBin?=?function(d,?a,?b,?e,?c)?{
????????????void?0?===?c?&&?(c?=?void?0);
????????????for?(var?f?=?-1,?h?=?d.length,?n?=?0;?n?<?h;?n++)?{
????????????????var?p?=?d[n];
????????????????if?(p.listener?===?a?&&?p.thisObject?===?b?&&?p.display?===?c)?return?
????????????????!1;?-?1?==?f?&&?p.priority?<?e?&&?(f?=?n)
????????????}
????????????a?=?{
????????????????listener:?a,
????????????????thisObject:?b,
????????????????priority:?e
????????????};
????????????c?&&?(a.display?=?c);?-?1?!=?f???d.splice(f,?0,?a)?:?d.push(a);
????????????return?!0
????????};
????????a.prototype.removeEventListener?=?function(d,?a,?b,?e)?{
????????????void?0?===?e?&&?(e?=?!1);
????????????if?(e?=?e???this._captureEventsMap?:?this._eventsMap)?{
????????????????var?c?=?e[d];
????????????????c?&&?(this._removeEventBin(c,
????????????????????a,?b),?0?==?c.length?&&?delete?e[d])
????????????}
????????};
????????a.prototype._removeEventBin?=?function(d,?a,?b,?e,?c)?{
????????????void?0?===?e?&&?(e?=?void?0);
????????????void?0?===?c?&&?(c?=?0);
????????????for?(var?f?=?d.length;?c?<?f;?c++)?{
????????????????var?h?=?d[c];
????????????????if?(h.listener?===?a?&&?h.thisObject?===?b?&&?h.display?==?e)?return?
????????????????d.splice(c,?1),?!0
????????????}
????????????return?!1
????????};
????????a.prototype.hasEventListener?=?function(d)?{
????????????return?this._eventsMap?&&?this._eventsMap[d]?||?this._captureEventsMap?&&?
????????????this._captureEventsMap[d]
????????};
????????a.prototype.willTrigger?=?function(d)?{
????????????return?this.hasEventListener(d)
????????};
????????a.prototype.dispatchEvent?=?function(d)?{
????????????d._reset();
????????????d._target?=
????????????????this._eventTarget;
????????????d._currentTarget?=?this._eventTarget;
????????????return?this._notifyListener(d)
????????};
????????a.prototype._notifyListener?=?function(d)?{
????????????var?a?=?1?==?d._eventPhase???this._captureEventsMap?:?this._eventsMap;
????????????if?(!a)?return?!0;
????????????a?=?a[d._type];
????????????if?(!a)?return?!0;
????????????var?b?=?a.length;
????????????if?(0?==?b)?return?!0;
????????????for?(var?a?=?a.concat(),?e?=?0;?e?<?b;?e++)?{
????????????????var?c?=?a[e];
????????????????c.listener.call(c.thisObject,?d);
????????????????if?(d._isPropagationImmediateStopped)?break
????????????}
????????????return?!d._isDefaultPrevented
????????};
????????a.prototype.dispatchEventWith?=?function(d,?a,?m)?{
????????????void?0?===?a?&&?(a?=?!1);
????????????b.Event.dispatchEvent(this,
????????????????d,?a,?m)
????????};
????????return?a
????}(b.HashObject);
????b.EventDispatcher?=?c;
????c.prototype.__class__?=?"egret.EventDispatcher"
})(egret?||?(egret?=?{}));
__extends?=?this.__extends?||?function(b,?c)?{
????function?e()?{
????????this.constructor?=?b
????}
????for?(var?a?in?c)?c.hasOwnProperty(a)?&&?(b[a]?=?c[a]);
????e.prototype?=?c.prototype;
????b.prototype?=?new?e
};
(function(b)?{
????var?c?=?function(e)?{
????????function?a()?{
????????????e.call(this);
????????????this.stage?=?this.deviceContext?=?this.netContext?=?this.touchContext?=?
????????????this.rendererContext?=?null;
????????????this.reuseEvent?=?new?b.Event("")
????????}
????????__extends(a,?e);
????????a.prototype.run?=?function()?{
????????????b.Ticker.getInstance().run();
????????????b.Ticker.getInstance().register(this.renderLoop,?this,?
????????????Number.NEGATIVE_INFINITY);
????????????b.Ticker.getInstance().register(this.broadcastEnterFrame,?this,
????????????Number.POSITIVE_INFINITY);
????????????this.touchContext.run();
????????????this._profileInstance?=?b.Profiler.getInstance()
????????};
????????a.prototype.renderLoop?=
????????????function(d)?{
????????????????if?(0?<?b.__callLaterFunctionList.length)?{
????????????????????var?l?=?b.__callLaterFunctionList;
????????????????????b.__callLaterFunctionList?=?[];
????????????????????var?m?=?b.__callLaterThisList;
????????????????????b.__callLaterThisList?=?[];
????????????????????var?e?=?b.__callLaterArgsList;
????????????????????b.__callLaterArgsList?=?[]
????????????????}
????????????????d?=?this.stage;
????????????????var?c?=?a.cachedEvent;
????????????????c._type?=?b.Event.RENDER;
????????????????this.dispatchEvent(c);
????????????????b.Stage._invalidateRenderFlag?&&?(this.broadcastRender(),?
????????????????b.Stage._invalidateRenderFlag?=?!1);
????????????????l?&&?this.doCallLaterList(l,?m,?e);
????????????????0?<?b.__callAsyncFunctionList.length?&&?this.doCallAsyncList();
????????????????l?=?this.rendererContext;
????????????????l.onRenderStart();
????????????????l.clearScreen();
????????????????a.__DRAW_COMMAND_LIST?=?[];
????????????????a._renderLoopPhase?=?"updateTransform";
????????????????d._updateTransform();
????????????????a._renderLoopPhase?=?"draw";
????????????????c._type?=?b.Event.FINISH_UPDATE_TRANSFORM;
????????????????this.dispatchEvent(c);
????????????????a.__use_new_draw???this._draw(l)?:?d._draw(l);
????????????????c._type?=?b.Event.FINISH_RENDER;
????????????????this.dispatchEvent(c);
????????????????this._profileInstance._isRunning?&&?this._profileInstance._drawProfiler();
????????????????l.onRenderFinish()
????????????};
????????a.prototype._draw?=?function(d)?{
????????????for?(var?l?=?a.__DRAW_COMMAND_LIST,?b?=?l.length,?e?=?0;?e?<?b;?e++)?{
????????????????var?c?=?l[e];
????????????????c.call(d);
????????????????c.dispose()
????????????}
????????};
????????a.prototype.broadcastEnterFrame?=
????????????function(d)?{
????????????????d?=?this.reuseEvent;
????????????????d._type?=?b.Event.ENTER_FRAME;
????????????????this.dispatchEvent(d);
????????????????for?(var?a?=?b.DisplayObject._enterFrameCallBackList.concat(),?
????????????????m?=?a.length,?e?=?0;?e?<?m;?e++)?{
????????????????????var?c?=?a[e];
????????????????????d._target?=?c.display;
????????????????????d._currentTarget?=?c.display;
????????????????????c.listener.call(c.thisObject,?d)
????????????????}
????????????????a?=?b.Recycler._callBackList;
????????????????for?(e?=?a.length?-?1;?0?<=?e;?e--)?a[e]._checkFrame()
????????????};
????????a.prototype.broadcastRender?=?function()?{
????????????var?d?=?this.reuseEvent;
????????????d._type?=?b.Event.RENDER;
????????????for?(var?a?=?b.DisplayObject._renderCallBackList.concat(),?m?=?a.length,?e?=?0;?
????????????e?<?m;?e++)?{
????????????????var?c?=?a[e],
????????????????????f?=
????????????????????c.display;
????????????????d._target?=?f;
????????????????d._currentTarget?=?f;
????????????????c.listener.call(c.thisObject,?d)
????????????}
????????};
????????a.prototype.doCallLaterList?=?function(d,?a,?b)?{
????????????for?(var?e?=?d.length,?c?=?0;?c?<?e;?c++)?{
????????????????var?f?=?d[c];
????????????????null?!=?f?&&?f.apply(a[c],?b[c])
????????????}
????????};
????????a.prototype.doCallAsyncList?=?function()?{
????????????var?d?=?b.__callAsyncFunctionList.concat(),
????????????????a?=?b.__callAsyncThisList.concat(),
????????????????m?=?b.__callAsyncArgsList.concat();
????????????b.__callAsyncFunctionList.length?=?0;
????????????b.__callAsyncThisList.length?=?0;
????????????for?(var?e?=?b.__callAsyncArgsList.length?=?0;?e?<?d.length;?e++)?{
????????????????var?c?=?d[e];
????????????????null?!=?c?&&?c.apply(a[e],?m[e])
????????????}
????????};
????????a.deviceType?=?null;
????????a.DEVICE_PC?=?"web";
????????a.DEVICE_MOBILE?=?"native";
????????a.RUNTIME_HTML5?=?"runtime_html5";
????????a.RUNTIME_NATIVE?=?"runtime_native";
????????a.__DRAW_COMMAND_LIST?=?[];
????????a.__use_new_draw?=?!0;
????????a.cachedEvent?=?new?b.Event("");
????????return?a
????}(b.EventDispatcher);
????b.MainContext?=?c;
????c.prototype.__class__?=?"egret.MainContext"
})(egret?||?(egret?=?{}));

源码

需要源码请关注添加好友哦^ ^

转载:欢迎来到本站,转载请注明文章出处https://ormcc.com/

文章来源:https://blog.csdn.net/qq_16659821/article/details/135817440
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。