cocos creator3D1.2休闲游戏夺宝向前冲3D游戏源码H5+安卓+IOS三端源码,开发脚本为typeScript方便扩展和阅读,支持cocos creator3D版本,完整的源码可直接运营。
2021-12-31 14:08:12 59.93MB cocoscreator3D休
cocos creator3D 物理小游戏《球球跳跃》源码H5+安卓+IOS三端源码,开发脚本为typeScript方便扩展和阅读,支持cocos creator3D1.X版本,完整的源码可直接运营。玩法新颖,拿来研究的好游戏。
2021-12-10 17:06:56 957KB cocoscreator3D 物理小游戏源码
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 3.x版本下接入MGOBE,完成了一个具有创建房间、快速匹配、开始帧同步、结束帧同步、退出房间等基本功能的DEMO。详查https://blog.csdn.net/u013152718/article/details/119462386?spm=1001.2014.3001.5502
2021-08-06 22:15:09 2.52MB 腾讯云 MGOBE CocosCreator3D 微信小游戏
包含cocoscreator3D底框架,cocos防王者荣耀demo,已实现模型控制与技能释放。摇杆功能等 。很适合初学者。
2021-05-11 09:27:23 7.52MB cocos防王者荣耀 模型控制 技能释放 rpg
1