该项目是一个有趣的2D小游戏实例,内置丰富的组件使用实例以及JavaScript脚本使用方式。CocosCreator版本:2.3.1。
2021-12-22 14:11:11 3.66MB cocos-creator javascript 2d游戏
1
皮皮的一些例子
2021-12-22 09:10:08 6.19MB cocos
1
CocosCreator Shader编辑器
2021-12-21 19:08:31 22.34MB cocos-creator
1
CocosCreator 版本v2.0.1 , 项目源码 ,王者弹球弹球游戏的辅助发射线 , 根据正弦值计算出角度调整发射线。
2021-12-19 19:00:14 187KB Cocos CocosCreator cocos2dx
1
cocos creator2.X RPG 回合制手游《精品西游》源码H5+安卓+IOS三端源码,开发脚本为typeScript方便扩展和阅读,支持cocos creator2.X版本,完整的源码可直接运营。客户端为javaScript脚本 服务端为Nodejs typeScript脚本。拿来换皮二开非常不错的的,西游题材回合制手游源码。
2021-12-19 17:09:16 878.65MB 回合制手游《精品西游》源码
cocos creator的寻路demo
2021-12-19 12:09:01 1.79MB cocos cocos-creator 寻路
1
部落战争源码+开发文档
2021-12-16 18:08:28 762.13MB cocos
1
cocos creator实现的推箱子游戏,含源码和功能;游戏一共有100关卡。 cc.Class({ extends: cc.Component, properties: { // foo: { // // ATTRIBUTES: // default: null, // The default value will be used only when the component attaching // // to a node for the first time // type: cc.SpriteFrame, // optional, default is typeof default // serializable: true, // optional, default is true // }, // bar: { // get () { // return this._bar; // }, // set (value) { // this._bar = value; // } // }, starImg : cc.Node, itemBg : cc.Node, levelTxt : cc.Node, }, // LIFE-CYCLE CALLBACKS: onLoad () { }, start () { }, //--------显示星星数量-------- /** * @description: 显示星星数量 * @param {boolean} isOpen 是否开启 * @param {starCount} 星星数量 * @param {cc.SpriteAtlas} levelImgAtlas 纹理图 * @param {number} level 关卡 * @return: */ showStar : function(isOpen, starCount, levelImgAtlas, level){ this.itemBg.attr({"_level_" : level}); if(isOpen){ this.itemBg.getComponent(cc.Sprite).spriteFrame = levelImgAtlas.getSpriteFrame("pass_bg"); this.starImg.active = true; this.starImg.getComponent(cc.Sprite).spriteFrame = levelImgAtlas.getSpriteFrame("point" + starCount); this.levelTxt.opacity = 255; this.itemBg.getComponent(cc.Button).interactable = true; }else{ this.itemBg.getComponent(cc.Sprite).spriteFrame = levelImgAtlas.getSpriteFrame("lock"); this.starImg.active = false; this.levelTxt.opacity = 125; this.itemBg.getComponent(cc.Button).interactable = false; } this.levelTxt.getComponent(cc.Label).string = level; }, //按钮回调函数响应 btnCallBack : function(event, customEventData){ if(this._callfunc){ this._callfunc(this.itemBg._level_); } }, levelFunc : function(callfunc){ this._callfunc = callfunc; }, // update (dt) {}, });
2021-12-16 11:29:21 763KB cocos creator
1
资源文件超过200m,就放在百度网盘上,txt里面有地址和密码
2021-12-16 09:09:01 141B Cocos Cocosstudio
1
该项目实例主要是仿照4399小游戏《橡皮怪-勇闯地下城》而编写,链接如下:http://www.4399.com/flash/212024_3.htm,内置丰富的组件使用实例以及JavaScript脚本编写实例。CocosCreator版本:2.3.1。
2021-12-16 09:09:01 55.57MB cocos-creator JavaScript 2d游戏
1