cocos_creator_ShuffleCard:cocos creator中 利用遮罩实现搓牌效果

上传者: 42128315 | 上传时间: 2023-04-05 16:13:31 | 文件大小: 3.88MB | 文件类型: ZIP
cocos_creator_ShuffleCard cocos creator中 利用遮罩实现搓牌效果。 废话少说,直接上效果图。 1.旋转后左搓 2.不旋转上搓 2.不旋转右搓 2.不旋转左搓 cardMove 组件使用说明 设置回调接口的函数 setMoveStartHook() 这个接口设置的回调函数将会在touch start的时候回调。如果你想在touch start 的时候处理一些任务,你可以使用该接口。 setMoveStartHook 参数 这个函数需要传一个function作为参数,这个function有一个参数,是当前显示的牌的节点。你可以在这个function中对它做你想做的处理。 setMoveStartHook 使用例子 setMoveStartHook(function(currentShowNode){
..........
})</b

文件下载

资源详情

[{"title":"( 53 个子文件 3.88MB ) cocos_creator_ShuffleCard:cocos creator中 利用遮罩实现搓牌效果","children":[{"title":"cocos_creator_ShuffleCard-master","children":[{"title":"效果图","children":[{"title":"4.png <span style='color:#111;'> 28.29KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 29.85KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 23.32KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 25.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"ShuffleCard","children":[{"title":"creator.d.ts <span style='color:#111;'> 682.49KB </span>","children":null,"spread":false},{"title":"project.json <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"jsconfig.json <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"Script","children":[{"title":"common","children":[{"title":"cardMove.js <span style='color:#111;'> 20.64KB </span>","children":null,"spread":false},{"title":"cardMove.js.meta <span style='color:#111;'> 197B </span>","children":null,"spread":false}],"spread":true},{"title":"test.js.meta <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"test.js <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"common.meta <span style='color:#111;'> 88B </span>","children":null,"spread":false}],"spread":true},{"title":"Scene","children":[{"title":"test.fire <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false},{"title":"test.fire.meta <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"Scene.meta <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"prefabs.meta <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"prefabs","children":[{"title":"bigCardPre","children":[{"title":"cardMove.prefab.meta <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"cardMove.prefab <span style='color:#111;'> 1.29MB </span>","children":null,"spread":false}],"spread":true},{"title":"bigCardPre.meta <span style='color:#111;'> 88B </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"Texture","children":[{"title":"bigCard","children":[{"title":"btn_rubCard_hideCard_02.png.meta <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"card.png <span style='color:#111;'> 1.74MB </span>","children":null,"spread":false},{"title":"kuang.png <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"btn_rubCard_hideCard_01.png <span style='color:#111;'> 11.91KB </span>","children":null,"spread":false},{"title":"btn_rubCard_open_01.png <span style='color:#111;'> 12.75KB </span>","children":null,"spread":false},{"title":"kuang.png.meta <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"btn_rubCard_open_02.png <span style='color:#111;'> 12.66KB </span>","children":null,"spread":false},{"title":"btn_rubCard_hideCard_01.png.meta <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"card.png.meta <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"btn_rubCard_open_02.png.meta <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"card.plist <span style='color:#111;'> 27.08KB </span>","children":null,"spread":false},{"title":"btn_rubCard_rotate_01.png.meta <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"btn_rubCard_btnBg.png.meta <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"btn_rubCard_rotate_02.png <span style='color:#111;'> 12.41KB </span>","children":null,"spread":false},{"title":"btn_rubCard_hideCard_02.png <span style='color:#111;'> 12.21KB </span>","children":null,"spread":false},{"title":"btn_rubCard_rotate_02.png.meta <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"btn_rubCard_rotate_01.png <span style='color:#111;'> 12.29KB </span>","children":null,"spread":false},{"title":"card.plist.meta <span style='color:#111;'> 31.30KB </span>","children":null,"spread":false},{"title":"btn_rubCard_btnBg.png <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"btn_rubCard_open_01.png.meta <span style='color:#111;'> 688B </span>","children":null,"spread":false}],"spread":false},{"title":"bigCard.meta <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"img_bg_new_01.png <span style='color:#111;'> 1.66MB </span>","children":null,"spread":false},{"title":"img_bg_new_01.png.meta <span style='color:#111;'> 690B </span>","children":null,"spread":false}],"spread":false},{"title":"Texture.meta <span style='color:#111;'> 108B </span>","children":null,"spread":false}],"spread":true},{"title":"resources.meta <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"Script.meta <span style='color:#111;'> 108B </span>","children":null,"spread":false}],"spread":true},{"title":"template-banner.png <span style='color:#111;'> 22.61KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"template.json <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"settings","children":[{"title":"builder.panel.json <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"project.json <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"builder.json <span style='color:#111;'> 985B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明