转场 该项目基于Cocos Creator 2.3.0。 在线演示: : 用法 将过渡节点添加到场景后,过渡节点将使自己成为持久节点。 在属性面板中选择一个过渡。 从一个场景到另一个场景的过渡: // Use **transitions.loadScene** instead of **cc.director.loadScene** // cc.director.loadScene(url, this.onLoadSceneFinish.bind(this)); this . transitions . loadScene ( url , 'Canvas/Main Camera' , 'Canvas/Main Camera' , this . onLoadSceneFinish . bind ( this ) ) ; 从一个节点到另一个节点的过渡: this . trans
2021-09-29 16:47:13 5.33MB JavaScript
1
用于打apk包的apache-ant-1.9.7-bin,亲测可用 win7,win10,64位,
2021-09-13 23:59:33 7.44MB ant java android cocos
1
Cocos Creator 3D开发入门----CocosCreator3D篮球.zip import { _decorator, Component, Node, RigidBodyComponent, PhysicMaterial, ColliderComponent } from "cc"; const { ccclass, property } = _decorator; @ccclass("PhyMat") export class PhyMat extends Component { @property private friction: number = 0; // 摩擦力 @property private restitution: number = 0; // 弹力 /* class member could be defined like this */ // dummy = ''; /* use `property` decorator if your want the member to be serializable */ // @property // serializableDummy = 0; onLoad(): void{ let comps: Array = this.node.getComponents(ColliderComponent) as Array; let mat = new PhysicMaterial(); mat.friction = this.friction; mat.restitution = this.restitution; for(let i = 0; i < comps.length; i++){ comps[i].material = mat; } } start () { // Your initialization goes here. } // update (deltaTime: number) { // // Your update function goes here. // } }
2021-09-13 11:03:32 1.06MB CocosCreator3D篮球
1
cocos creator 摇杆、扫地、挂卡、遥感卡车
1
角色扮演游戏 使用Cocos Creator开发的RPG Maker的日式RPG游戏的基础系统。 例如:角色移动,对话,商店,背包,地图切换,事件触发等等。 项目包含系统的核心代码,使用方法请移步 注:代码里的A *算法根据 。写的修改而来 更新一下... 过去减少以及未来的停机都很多事情做,真的是很少时间来写这个了,虽然本来也就是写着来玩玩的。 而且既然多多的地方的设计好烂啊(没脸看,扶额),已经写好的部分如果没什么大问题暂时是懒得去改了。 机械城那个工程发出来不太合适,虽然现在都是在这个基础上开发。 然后也琢磨着想弄个战斗系统,甚至肯定是很简单的(复杂的也做不来啊),不过就算再简单还是想做个出来吧。 就这样吧。
2021-09-09 19:48:59 74KB 系统开源
1
AS3代码转换成TS语法工具 描述: 使用egret,laya,cocos等AS3.0项目转typescript 文件目录: 1.语法工具 2.air安装程序
2021-09-09 15:53:46 11.39MB AS3.0转TS egret typescript cocos
1
客户端使用Cocos Creator 1.3.2开发 服务器使用NodeJS 4.6.0 MYSQL使用MySQL 5.1.x 除此之外,无其他依赖。自行搭建即可。
2021-09-09 10:18:09 52.09MB js Cocos nodejs mysql
1
Cocos Creator 3.x 拖尾效果
2021-09-08 14:04:19 153KB CocosCreator3.
1
Cocos Creator 背景模糊,游戏开发中经常使用到。一直不到怎么实现,好好研究了一下,发现原理真的好简单。。。,详细看 https://blog.csdn.net/qq_14965517/article/details/120157672
2021-09-07 19:05:40 823KB cocos-creator
1
基于cocos creator 3.1.0的一个小游戏源码:Tower Crash 3D。 示例:http://mdream3d.com/games/towercrash3d/index.html 注意:PC上打开请启用浏览器开发模式,并设置为手机模式。 完全作者自主开发,供大家参考。
2021-09-07 14:11:22 13.35MB cocos-creator 3d tower crash