define("components/ZCAvatar/logic.js", function(require, module, exports){
"use strict";function e(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(a,i,r){return i&&e(a.prototype,i),r&&e(a,r),a}}();module.exports=function(){function i(){e(this,i)}return a(i,[{key:"onCreated",value:function(){}},{key:"onInitUI",value:function(){var e=this,a=1,i=0,r=0;e.props.position&&(a=e.props.position),e.props.backup&&(i=e.props.backup),e.uiService.createUI({UIKey:"avatar_pannel",UIType:"image",params:{x:0,y:0,z:1,visible:!0,reskey:"avatar_pannel"}}),e.uiService.createUI({UIKey:"avatar",UIType:"image",params:{x:0,y:0,z:1,visible:!0,reskey:"avatar"}}),e.uiService.createMask({UIKey:"avatar",shape:"image",reskey:"avatar_pannel",width:120,height:120}),e.uiService.createUI({UIKey:"wait",UIType:"image",params:{x:0,y:0,z:3,visible:!1,alpha:.4,width:120,height:120,reskey:"wait"}}),e.msgService.sendNSDKMsg("getAvatar",{}),e.msgService.listenMsg("getAvatarSucess",function(t){for(var s=!0,u=!1,p=0;p<t.MsgBody.length;p++)if(!u){var n=t.MsgBody[p];i>0?n.isMe||(n.groupid==a?(u=!0,s=!1,e.uiService.updateUI({UIKey:"avatar",params:{extreskey:n.resourceKey,width:120,height:120}}),1!=n.roomstate?e.uiService.updateUI({UIKey:"wait",params:{visible:!0}}):e.uiService.updateUI({UIKey:"wait",params:{visible:!1}})):n.groupid==i&&(s=!1,e.uiService.updateUI({UIKey:"avatar",params:{extreskey:n.resourceKey,width:120,height:120}}),1!=n.roomstate?e.uiService.updateUI({UIKey:"wait",params:{visible:!0}}):e.uiService.updateUI({UIKey:"wait",params:{visible:!1}}))):n.groupid==a&&(u=!0,s=!1,r=n.playerid,e.uiService.updateUI({UIKey:"avatar",params:{extreskey:n.resourceKey,width:120,height:120}}),n.isMe||(1!=n.roomstate?e.uiService.updateUI({UIKey:"wait",params:{visible:!0}}):e.uiService.updateUI({UIKey:"wait",params:{visible:!1}})))}s&&(e.uiService.updateUI({UIKey:"avatar",params:{reskey:"avatar",width:120,height:120}}),e.uiService.updateUI({UIKey:"wait",params:{visible:!1}}))}),e.msgService.listenMsg("NotifyGroupMsg",function(a){if(r>0&&a.MsgBody.SrcPlayer==r){var i=e.uiService.getUIInfo({UIKey:"avatar"});e.msgService.sendMsg({eID:"playEmotion",g_x:i.g_x+70,g_y:i.g_y,msg:a.MsgBody.Msg})}})}}]),i}();
});
define("components/ZCAvatar/resource.js", function(require, module, exports){
"use strict";module.exports={avatar_pannel:{type:"image",file:"avatar_pannel.png"},avatar:{type:"image",file:"avatar.png"},wait:{type:"image",file:"wait.png"}};
});
define("components/ZCBackScene/logic.js", function(require, module, exports){
"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();module.exports=function(){function n(){e(this,n)}return t(n,[{key:"onCreated",value:function(){}},{key:"onInitUI",value:function(){var e=this,t=!1,n=!1;e.backTimeout=null,e.props.quitRoom&&(t=e.props.quitRoom),e.props.quitMatch&&(n=e.props.quitMatch);e.msgService.listenMsg("quitRoomSucess",function(t){e.sceneService.gotoScene(e.props.objscene)}),e.msgService.listenMsg("getBattleInfoSucess",function(e){"MATCHMODE_PVP_1V1V1"==e.gametype&&(t=!1)}),e.msgService.listenMsg("hideBackScene",function(t){e.uiService.updateUI({UIKey:"button",params:{visible:!1}}),e.uiService.removeUI({UIKey:"button"})}),e.uiService.createUI({UIKey:"button",UIType:"button",params:{x:0,y:0,z:0,visible:!0,reskey:"button"}}),e.uiService.addEventListener({UIKey:"button",eventType:"inputdown_L",callback:function(){e.uiService.updateUI({UIKey:"button",params:{scale_x:.9,scale_y:.9}}),e.uiService.playAudio({reskey:"dianji"})}}),e.uiService.addEventListener({UIKey:"button",eventType:"inputup_L",callback:function(){e.uiService.updateUI({UIKey:"button",params:{scale_x:1,scale_y:1}}),t&&e.msgService.sendNSDKMsg("quitRoom",{}),n&&e.msgService.sendNSDKMsg("CancelMatch",{}),t||(e.backTimeout=setTimeout(function(){e.sceneService.gotoScene(e.props.objscene)},100))}})}},{key:"onDestroy",value:function(){clearTimeout(this.backTimeout)}}]),n}();
});
define("components/ZCBackScene/resource.js", function(require, module, exports){
"use strict";module.exports={button:{type:"image",file:"button.png"},dianji:{type:"audio",file:"dianji.mp3",duration:500}};
});
define("components/ZCCommonAvatar/logic.js", function(require, module, exports){
"use strict";function e(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,r){for(var a=0;a<r.length;a++){var i=r[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(r,a,i){return a&&e(r.prototype,a),i&&e(r,i),r}}();module.exports=function(){function a(){e(this,a)}return r(a,[{key:"onCreated",value:function(){this.props.pos=this.props.pos||"",void 0===this.props.visible&&(this.props.visible=!0),this.props.diameter=this.props.diameter||115}},{key:"onInitUI",value:function(){var e=this;e.uiService.createUI({UIKey:"avatarbg"+e.props.pos,UIType:"image",params:{x:0,y:0,width:e.props.diameter,height:e.props.diameter,reskey:"avatarbg"}}),e.uiService.createUI({UIKey:"avatar"+e.props.pos,UIType:"image",params:{x:0,y:0,width:e.props.diameter,height:e.props.diameter,reskey:"defaultavatar"}}),e.uiService.createMask({UIKey:"avatar"+e.props.pos,shape:"image",reskey:"avatarbg",width:.85*e.props.diameter,height:.85*e.props.diameter}),e.uiService.updateUI({UIKey:"root",params:{visible:e.props.visible}}),e.msgService.listenMsg("updateavatar"+e.props.pos,function(r){var a=!0;void 0!==r.visible&&(a=r.visible),e.uiService.updateUI({UIKey:"root",params:{visible:a}}),e.uiService.updateUI({UIKey:"avatar"+e.props.pos,params:{extreskey:r.extreskey,width:e.props.diameter,height:e.props.diameter}})})}}]),a}();
});
define("components/ZCCommonAvatar/resource.js", function(require, module, exports){
"use strict";module.exports={avatarbg:{type:"image",file:"avatar_pannal.png"},defaultavatar:{type:"image",file:"avatar.png"}};
});
define("components/ZCCommonBg/logic.js", function(require, module, exports){
"use strict";function e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,i,r){return i&&e(n.prototype,i),r&&e(n,r),n}}();module.exports=function(){function i(){e(this,i)}return n(i,[{key:"onCreated",value:function(){}},{key:"onInitUI",value:function(){var e=this;e.uiService.createUI({UIKey:"background",UIType:"image",params:{x:0,y:0,width:720,height:1280,visible:!0,reskey:"background"}}),e.uiService.createUI({UIKey:"diamond",UIType:"tilesprite",params:{x:0,y:0,z:100,width:720,height:1280,visible:!0,reskey:"diamond"}})}}]),i}();
});
define("components/ZCCommonBg/resource.js", function(require, module, exports){
"use strict";module.exports={background:{type:"image",file:"background.png"},diamond:{type:"image",file:"bg_common_diamond.png"}};
});
define("components/ZCDailyChallengeBg/logic.js", function(require, module, exports){
"use strict";function e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,n){for(var r=0;r<n.length;r++){var t=n[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(n,r,t){return r&&e(n.prototype,r),t&&e(n,t),n}}();module.exports=fu
没有合适的资源?快使用搜索试试~ 我知道了~
微信小游戏找茬最新源码
共66个文件
json:31个
png:28个
mp3:5个
需积分: 44 52 下载量 29 浏览量
2018-07-01
19:39:19
上传
评论 4
收藏 1.68MB ZIP 举报
温馨提示
微信小游戏找茬最新源码上传,仅供大家参考学习;微信小游戏找茬最新源码上传,仅供大家参考学习;
资源推荐
资源详情
资源评论
收起资源包目录
ZhaoCha.zip (66个子文件)
ZhaoCha
game.json 39B
app-config.json 204B
game.js.map 631KB
desc.json 34KB
game.js 2.27MB
components
ZCSingleChallengeBg
assets
background.png 61KB
ZCCommonBg
assets
background.png 977B
bg_common_diamond.png 3KB
ZCPVPStrangerBanner
assets
banner.png 15KB
matching.png 8KB
matched.png 7KB
ZCPVPFriendsbg
assets
background.png 59KB
ZCTipsPannel
assets
white.png 2KB
green.png 2KB
close.png 3KB
tips.png 373B
button.png 4KB
ZCSelectRuleJumpStrange
assets
dianji.mp3 13KB
button.png 15KB
ZCUGCbg
assets
background.png 60KB
bg.png 150KB
ZCDailyChallengeBg
assets
background.png 89KB
ZCWelcomeBg
assets
background.png 253KB
ZCSelectRuleJumpPVP
assets
bomb_mini_anim_ske.json 6KB
dianji.mp3 13KB
bomb_mini_anim_tex.json 925B
button.png 9KB
bomb_mini_anim_tex.png 23KB
ZCSelectRuleJumpUDC
assets
dianji.mp3 2KB
button.png 30KB
ZCSelectRulebg
assets
background.png 128KB
ZCSelectRuleJumpSingle
assets
dianji.mp3 13KB
button.png 28KB
ZCSelectRuleJumpDaily
assets
dianji.mp3 13KB
button.png 28KB
ZCPVPStrangerRadar
assets
pointer.png 14KB
radar.png 54KB
circle.png 9KB
ZCSelectRuleDesc
assets
descButton.png 3KB
tips.png 14KB
project.config.json 542B
games
zc
sceneUGCGameOver
config.json 2KB
sceneUGCPortal
config.json 1KB
sceneUGCMakeDiff
config.json 2KB
sceneLoading
config.json 656B
scenePVPGameOver
config.json 2KB
sceneGamePartial
config.json 1KB
scenePVPFriends
config.json 4KB
sceneUGCMakeClip
config.json 1KB
sceneDailyChallenge
config.json 1KB
sceneGameDTDC
config.json 952B
sceneStageSucess
config.json 1KB
sceneStageInfo
config.json 1KB
sceneUGCPreview
config.json 2KB
sceneSelectRule
config.json 3KB
sceneGame
editor
editorSceneSetting.json 0B
config.json 1KB
scenePVPStranger
config.json 3KB
sceneSingleChallengeGameOver
config.json 1KB
game_conf.json 772B
sceneSingleChallenge
config.json 786B
sceneGameChallenge
config.json 1KB
sceneWelcome
config.json 374B
sceneUGCProtocol
config.json 583B
sceneUGCSelectPic
config.json 1KB
sceneDailyChallengeGameOver
config.json 2KB
共 66 条
- 1
资源评论
c317791424
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Vue+Echarts实现风力发电机中传感器的数据展示监控可视化系统+源代码+文档说明(高分课程设计)
- 基于单片机的风力发电机转速控制源码
- 基于C++实现的风力发电气动平衡监测系统+源代码+测量数据(高分课程设计)
- 毕业设计- 基于STM32F103C8T6 单片机,物联网技术的太阳能发电装置+源代码+文档说明+架构图+界面截图
- 基于 LSTM(长短期记忆)(即改进的循环神经网络)预测风力发电厂中风力涡轮机产生的功率+源代码+文档说明
- 基于stm32f103+空心杯电机+oled按键+运动算法
- 《CKA/CKAD应试指南/从docker到kubernetes 完全攻略》学习笔记 第1章docker基础(1.1-1.4)
- 基于python实现的水下压缩空气储能互补系统建模仿真与经济效益分析+源代码+论文
- 华中科技大学-自然语言处理实验,Bi-LSTM+CRF的中文分词框架,并且利用基于深度学习的方法进行中文命名实体识别++源码报告
- 基于动态罚函数的铁路车流分配与径路优化模型python源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功