大约有 335 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0042 秒)
Laya_社区(154) Laya3.0_api(74) Laya2.0_文档(74) laya_api(19) Laya2.0_api(6) Laya3.0_文档(4) Laya2.0_示例(2) Laya_示例(2)
....setName = function(value) { nameLabel.text = value; } Character.prototype.update = function() { this.x += this.speed; if (this.x >= Laya.stage.width + Character.WIDTH) this.x = -Character.WIDTH; } this.createAnimation(images); this.createBloodBar(); this.createNameLabel(); } Laya.class(Character, "...
来源: Laya_示例 发布时间: 20250221
...rs() { let char; let charSkin; for (let i = 0; i = 0; i--) { characters[i].update(); } if (Laya.timer.currFrame % 60 === 0) { text.text = Stat.FPS.toString(); } } } class Character extends Laya.Sprite { constructor(images) { super(); this.speed = 5; this.bloodBar; this.animation; this.nameLabel; thi...
来源: Laya2.0_示例 发布时间: 20250221
...蜂窝权限都已经打开: 启动游戏会的第一步会下载 /update/assetsid.txt 这个文档比较来确定是否更新 目前我遇到的问题是: 在wifi下没有问题,每次下注都能够成功 在4G下,经常下载失败,偶尔可以,下注失败就进入不了游...
来源: Laya_社区 发布时间: 20180111
...理,达到快进的效果呢? 比如有办法手动调用Physics._update方法吗 另外还是建议把timestep以及其他的参数暴露出来让用户设置吧,毕竟用户可能有很多你们想不到的需求,谢谢! 2019-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20190709
...client/trunk/bin/libs/laya.physics.js:586:141) at box2d.b2BroadPhase.UpdatePairs (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.physics.js:308:194) at box2d.b2ContactManager.FindNewContacts (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.physics.js:584:355) at box2d.b2Worl...
来源: Laya_社区 发布时间: 20190407
...tion (http://127.0.0.1:24812/game/code.js:94285:51) at FootBallCtrl._update (http://127.0.0.1:24812/game/code.js:94213:18) at MeshSprite3D.__proto._updateComponents (http://127.0.0.1:24812/game/code.js:70809:36) at MeshSprite3D.__proto._update (http://127.0.0.1:24812/game/code.js:8...
来源: Laya_社区 发布时间: 20181122
...始发射粒子 EmitterBase stop():void 停止发射粒子 EmitterBase update(state:RenderState):void 更新球粒子发射器。 EmitterSphereProperty DetailcenterPositionpropertypublic var centerPosition:Vector3发射器中心位置。radiusproperty public var radius:Number = 1发射器半径...
来源: laya_api 发布时间: 20170603
...始发射粒子 EmitterBase stop():void 停止发射粒子 EmitterBase update(state:RenderState):void 更新盒粒子发射器。 EmitterBoxProperty DetailcenterPositionpropertypublic var centerPosition:Vector3发射器中心位置。sizeproperty public var size:Vector3发射器尺寸。velocit...
来源: laya_api 发布时间: 20170603
...始发射粒子 EmitterBase stop():void 停止发射粒子 EmitterBase update(state:RenderState):void 更新点粒子发射器。 EmitterPointProperty Detailpositionpropertypublic var position:Vector3发射器位置。positionVarianceproperty public var positionVariance:Vector3发射器位置...
来源: laya_api 发布时间: 20170603
....push(source); } this.addChild(source); this.timer.frameLoop(1,this,this.__updateBinds); } unbind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); this.__bindList.splice(i...
来源: Laya_社区 发布时间: 20190805