1. 首页
  2. 大数据
  3. 算法与数据结构
  4. vc6setupKeyData

vc6setupKeyData

上传者: 2020-11-29 02:23:54上传 DAT文件 134B 热度 6次
getNewStarPosition: function () { var randX = 0; // 根据地平面位置和主角跳跃高度,随机得到一个星星的 y 坐标 var randY = this.groundY + cc.random0To1() * this.player.getComponent('Player').jumpHeight + 50; // 根据屏幕宽度,随机得到一个星星 x 坐标 var maxX = this.node.width/2;
下载地址
用户评论