(function(t,e,i){function n(i,o){var s=e[i];if(!s){var c=t[i];if(!c){var a="function"==typeof require&&require;if(!o&&a)return a(i,!0);if(r)return r(i,!0);var h=new Error("Cannot find module '"+i+"'");throw h.code="MODULE_NOT_FOUND",h}var l={};s=e[i]={exports:l},c[0]((function(t){return n(c[1][t]||t)}),s,l)}return s.exports}for(var r="function"==typeof require&&require,o=0;o<i.length;o++)n(i[o])})({1:[(function(t,e,i){}),{}],2:[(function(t,e,i){function n(){cc._engineLoaded=!0,console.log(cc.ENGINE_VERSION),s&&s()}function r(){window.removeEventListener("load",r,!1),n()}cc._LogInfos=cc._LogInfos||{};window.CocosEngine=cc.ENGINE_VERSION="1.9.3",cc._renderContext=null,cc._supportRender=!1,cc._canvas=null,cc.container=null,cc._gameDiv=null,t("./cocos2d/core/utils"),t("./cocos2d/core/platform/CCSys");var o=!1,s=null;cc._engineLoaded=!1,cc.initEngine=function(t,e){if(o){var i=s;s=function(){i&&i(),e&&e()}}else s=e,!cc.game.config&&t?cc.game.config=t:cc.game.config||cc.game._loadConfig(),(function(t){var e=cc.game.CONFIG_KEY,i=parseInt(t[e.renderMode])||0;(isNaN(i)||i>2||i<0)&&(t[e.renderMode]=0),cc._renderType=cc.game.RENDER_TYPE_CANVAS,cc._supportRender=!1,0===i?cc.sys.capabilities.opengl?(cc._renderType=cc.game.RENDER_TYPE_WEBGL,cc._supportRender=!0):cc.sys.capabilities.canvas&&(cc._renderType=cc.game.RENDER_TYPE_CANVAS,cc._supportRender=!0):1===i&&cc.sys.capabilities.canvas?(cc._renderType=cc.game.RENDER_TYPE_CANVAS,cc._supportRender=!0):2===i&&cc.sys.capabilities.opengl&&(cc._renderType=cc.game.RENDER_TYPE_WEBGL,cc._supportRender=!0)})(t=cc.game.config),document.body?n():window.addEventListener("load",r,!1),o=!0}}),{"./cocos2d/core/platform/CCSys":97,"./cocos2d/core/utils":136}],3:[(function(t,e,i){function n(t,e){return function(i){"use strict";if(1!==arguments.length){var n="";2===arguments.length?n="Arguments: "+arguments[1]:arguments.length>2&&(n="Arguments: "+cc.js.shiftArguments.apply(null,arguments).join(", ")),t(e+" "+i+", please go to "+s+"#"+i+" to see details. "+n)}else t(e+" "+i+", please go to "+s+"#"+i+" to see details.")}}var r,o=t("./cocos2d/core/platform/CCEnum");cc.DebugMode=o({NONE:0,INFO:1,WARN:2,ERROR:3,INFO_FOR_WEB_PAGE:4,WARN_FOR_WEB_PAGE:5,ERROR_FOR_WEB_PAGE:6}),cc._initDebugSetting=function(t){if(cc.log=cc.logID=cc.warn=cc.warnID=cc.error=cc.errorID=cc.assert=cc.assertID=function(){},t!==cc.DebugMode.NONE){t>cc.DebugMode.ERROR?(function(){function e(t){if(cc._canvas){if(!r){var e=document.createElement("Div");e.setAttribute("id","logInfoDiv"),e.setAttribute("width","200"),e.setAttribute("height",cc._canvas.height);var i=e.style;i.zIndex="99999",i.position="absolute",i.top=i.left="0",(r=document.createElement("textarea")).setAttribute("rows","20"),r.setAttribute("cols","30"),r.setAttribute("disabled","true");var n=r.style;n.backgroundColor="transparent",n.borderBottom="1px solid #cccccc",n.borderTopWidth=n.borderLeftWidth=n.borderRightWidth="0px",n.borderTopStyle=n.borderLeftStyle=n.borderRightStyle="none",n.padding="0px",n.margin=0,e.appendChild(r),cc._canvas.parentNode.appendChild(e)}r.value=r.value+t+"\r\n",r.scrollTop=r.scrollHeight}}cc.error=function(){e("ERROR : "+cc.js.formatStr.apply(null,arguments))},cc.assert=function(t,i){"use strict";!t&&i&&e("ASSERT: "+(i=cc.js.formatStr.apply(null,cc.js.shiftArguments.apply(null,arguments))))},t!==cc.DebugMode.ERROR_FOR_WEB_PAGE&&(cc.warn=function(){e("WARN : "+cc.js.formatStr.apply(null,arguments))}),t===cc.DebugMode.INFO_FOR_WEB_PAGE&&(cc.log=cc.info=function(){e(cc.js.formatStr.apply(null,arguments))})})():console&&console.log.apply&&(console.error||(console.error=console.log),console.warn||(console.warn=console.log),console.error.bind?cc.error=console.error.bind(console):cc.error=function(){return console.error.apply(console,arguments)},cc.assert=function(t,e){if(!t)throw e&&(e=cc.js.formatStr.apply(null,cc.js.shiftArguments.apply(null,arguments))),new Error(e)}),t!==cc.DebugMode.ERROR&&(console.warn.bind?cc.warn=console.warn.bind(console):cc.warn=function(){return console.warn.apply(console,arguments)}),t===cc.DebugMode.INFO&&(console.log.bind?cc.log=console.log.bind(console):cc.log=function(){return console.log.apply(console,arguments)},cc.info=function(){(console.info||console.log).apply(console,arguments)}),cc.warnID=n(cc.warn,"Warning"),cc.errorID=n(cc.error,"Error"),cc.logID=n(cc.log,"Log");var e=n((function(){for(var t=[!1],e=0;e<arguments.length;++e)t.push(arguments[e]);cc.assert.apply(null,t)}),"Assert");cc.assertID=function(t){"use strict";t||e.apply(null,cc.js.shiftArguments.apply(null,arguments))}}},cc._throw=function(t){var e=t.stack;e?cc.error(e):cc.error(t)};var s="https://github.com/cocos-creator/engine/blob/master/EngineErrorMap.md"}),{"./cocos2d/core/platform/CCEnum":90}],4:[(function(t,e,i){}),{}],5:[(function(t,e,i){cc.ClippingNode=_ccsg.Node.extend({inverted:!1,_alphaThreshold:0,_stencil:null,_className:"ClippingNode",_originStencilProgram:null,ctor:function(t){t=t||null,_ccsg.Node.prototype.ctor.call(this),this._stencil=t,t&&(this._originStencilProgram=t.getShaderProgram()),this.alphaThreshold=1,this.inverted=!1,this._renderCmd.initStencilBits()},onEnter:function(){_ccsg.Node.prototype.onEnter.call(this),this._stencil&&this._stencil.performRecursive(_ccsg.Node.performType.onEnter)},onEnterTransitionDidFinish:function(){_ccsg.Node.prototype.onEnterTransitionDidFinish.call(this),this._stencil&&this._stencil.performRecursive(_ccsg.Node.performType.onEnterTransitionDidFinish)},onExitTransitionDidStart:function(){this._stencil&&this._stencil.performRecursive(_ccsg.Node.performType.onExitTransitionDidStart),_ccsg.Node.prototype.onExitTransitionDidStart.call(this)},onExit:function(){this._stencil&&this._stencil.performRecursive(_ccsg.Node.performType.onExit),_ccsg.Node.prototype.onExit.call(this)},visit:function(t){this._renderCmd.clippingVisit(t&&t._renderCmd)},_visitChildren:function(){this._reorderChildDirty&&this.sortAllChildren();for(var t,e=this._children,i=0,n=e.length;i<n;i++)(t=e[i])&&t._visible&&t.visit(this);this._renderCmd._dirtyFlag=0},getAlphaThreshold:function(){return this._alphaThreshold},setAlphaThreshold:function(t){1===t&&t!==this._alphaThreshold&&this._renderCmd.resetProgramByStencil(),this._alphaThreshold=t},isInverted:function(){return this.inverted},setInverted:function(t){this.inverted=t},getStencil:function(){return this._stencil},setStencil:function(t){this._stencil!==t&&(t&&(this._originStencilProgram=t.getShaderProgram()),this._renderCmd.setStencil(t))},_createRenderCmd:function(){return cc._renderType===cc.game.RENDER_TYPE_CANVAS?new cc.ClippingNode.CanvasRenderCmd(this):new cc.ClippingNode.WebGLRenderCmd(this)}}),cc.ClippingNode.stencilBits=-1;var n=cc.ClippingNode.prototype;cc.defineGetterSetter(n,"stencil",n.getStencil,n.setStencil),cc.defineGetterSetter(n,"alphaThreshold",n.getAlphaThreshold,n.setAlphaThreshold)}),{}],6:[(function(t,e,i){t("../shape-nodes/CCDrawNode"),cc.ClippingNode.CanvasRenderCmd=function(t){this._rootCtor(t),this._needDraw=!1,this._rendererClipCmd=new cc.CustomRenderCmd(this,this._drawStencilCommand),this._rendererRestoreCmd=new cc.CustomRenderCmd(this,this._restoreCmdCallback)};var n=cc.ClippingNode.CanvasRenderCmd.prototype=Object.create(_ccsg.Node.CanvasRenderCmd.prototype);n.constructor=cc.ClippingNode.CanvasRenderCmd,n.resetProgramByStencil=function(){},n.initStencilBits=function(){},n.setStencil=function(t){null!=t&&(this._node._stencil=t,t instanceof cc.DrawNode||cc.errorID(6300))},n._restoreCmdCallback=function(t){(t||cc._renderContext).restore()},n._drawStencilCommand=function(t,e,i){var n=t||cc._renderContext,r=n.getContext();n.save(),r.beginPath(),n.setTransform(this._worldTransform,e,i);for(var o=this._node._stencil._buffer,s=0;s<o.length;++s){var c=o[s].verts;if(!(c.length<3)){r.moveTo(c[0].x,-c[0].y);for(var a=1;a<c.length;++a)r.lineTo(c[a].x,-c[a].y)}}r.clip()},n.clippingVisit=function(t){var e=this._node;if(t=t||this.getParentRenderCmd(),this._propagateFlagsDown(t),e._visible){t&&(this._cu
没有合适的资源?快使用搜索试试~ 我知道了~
微信小游戏 碰碰球 开发工具 cocos 版本 1.10.zip
共427个文件
meta:188个
png:138个
js:60个
需积分: 5 0 下载量 28 浏览量
2024-04-19
18:24:47
上传
评论
收藏 1.86MB ZIP 举报
温馨提示
微信小游戏 碰碰球 开发工具 cocos 版本 1.10.zip
资源推荐
资源详情
资源评论
收起资源包目录
微信小游戏 碰碰球 开发工具 cocos 版本 1.10.zip (427个子文件)
tan4.anim 3KB
hail.anim 2KB
hai.anim 2KB
mar.anim 1KB
qi2.anim 1KB
qi1.anim 1KB
qi3.anim 1KB
mal.anim 1KB
girlL.anim 790B
girlR.anim 773B
ya.anim 771B
test.anim 138B
game.fire 544KB
GameStartUI.fire 23KB
GameOverUI.fire 17KB
mikado_outline_shadow.fnt 12KB
.gitignore 2KB
cocos2d-js-min.js 569KB
dom.js 33KB
pball.js 33KB
game.js 19KB
sax.js 18KB
wx-downloader.js 12KB
settings.js 11KB
main.js 8KB
dom-parser.js 8KB
project.js 8KB
XMLHttpRequest.js 7KB
Audio.js 7KB
main.js 5KB
entities.js 5KB
window.js 5KB
GameStartUI.js 4KB
girl.js 4KB
document.js 4KB
WebSocket.js 3KB
HTMLElement.js 3KB
gameover.js 3KB
Node.js 3KB
HTMLMediaElement.js 3KB
EventTarget.js 3KB
index.js 2KB
DeviceMotionEvent.js 2KB
Canvas.js 2KB
HTMLVideoElement.js 2KB
HTMLAudioElement.js 2KB
Element.js 2KB
navigator.js 1KB
TouchEvent.js 1KB
FileReader.js 1KB
sub-context-adapter.js 865B
WindowProperties.js 851B
HTMLCanvasElement.js 842B
localStorage.js 774B
ranking.js 769B
hiscore.js 684B
usa.js 651B
HTMLImageElement.js 644B
Event.js 634B
index.js 522B
dong.js 521B
Image.js 502B
index.js 478B
WebGLRenderingContext.js 445B
ImageBitmap.js 405B
downloader.js 388B
MouseEvent.js 388B
xiegang.js 375B
Globals.js 370B
money.js 342B
index.js 314B
heng.js 268B
Worker.js 221B
location.js 215B
usright.js 213B
index.js 119B
index.js 71B
builder.json 987B
project.json 947B
project.config.json 777B
tsconfig.json 293B
jsconfig.json 266B
game.json 236B
project.json 60B
flash.plist.meta 6KB
mikado_outline_shadow.png.meta 697B
hiscore.png.meta 683B
hiscore.png.meta 683B
score.png.meta 682B
count.png.meta 682B
hai12.png.meta 682B
flash.png.meta 682B
uSballl.png.meta 682B
uSballr.png.meta 682B
fenxiang.png.meta 681B
bianbg.png.meta 681B
hai21.png.meta 681B
uqie12.png.meta 681B
paihang.png.meta 680B
subbg.png.meta 680B
共 427 条
- 1
- 2
- 3
- 4
- 5
资源评论
生瓜蛋子
- 粉丝: 3797
- 资源: 4426
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功