cocos
duan003387
这个作者很懒,什么都没留下…
展开
-
mxplayer battle游戏接入
MX Player - Docking of Battle Games (双人对战游戏接入)1. Game Init (游戏初始化)After the game is loaded, execute it in the entry class: (游戏加载完成后在入口类中执行)onGameInit();onGameStart();/** * !#en Game initialization * !#zh 游戏初始化 */export let onGameInit = function原创 2021-10-28 20:20:21 · 2524 阅读 · 0 评论 -
cocos匀速贝塞尔曲线运动
cocos匀速贝塞尔曲线运动const { ccclass, property } = cc._decorator;@ccclassexport default class Expression extends cc.Component { // LIFE-CYCLE CALLBACKS: // onLoad() { } start() { cc.tween(this as any) .to(2, { factor: 1 })原创 2021-03-03 16:51:44 · 1349 阅读 · 1 评论