• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 389 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

11. 其他引擎的Demo-Example_04 [ 88%]

...WALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.createText(); this.start(); } start() { const Sprite = Laya.Sprite; for (var i = 0; i w) { stars[i].x = stars[i].x - w; } else if (stars[i].x h) { stars[i].y = stars[i].y - h; } else if (stars[i].y = []; private w:number = Browser.width; privat...

来源: Laya2.0_示例 发布时间: 20241001

12. Shake.instance.start(5, 500);这里面的5和500什么意思? [ 88%]

Shake.instance.start(5, 500);这里面的5和500什么意思? import laya.device.Shake;   Shake.instance.start(5, 500); 报错了,如下图: 附件 : --> 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

来源: Laya_社区 发布时间: 20170116

13. 其他引擎的Demo-Example_04 [ 88%]

... h / 2; var speedInfo; (function() { Laya.init(w, h, WebGL); createText(); start(); })(); function start() { for (var i = 0; i w) { stars[i].x = stars[i].x - w; } else if (stars[i].x h) { stars[i].y = stars[i].y - h; } else if (stars[i].y = []; private w:number = Browser.width; private h:number = Br...

来源: Laya_示例 发布时间: 20241001

14. laya.particle.emitter.EmitterBase [ 88%]

...活跃粒子 EmitterBase  emit():void 发射一个粒子 EmitterBase  start(duration:Number):void 开始发射粒子 EmitterBase  stop():void 停止发射粒子 EmitterBaseProperty Detail_emissionRatepropertyprotected var _emissionRate:Number = 60 粒子发射速率 _emissionTimeproperty prot...

来源: laya_api 发布时间: 20170929

15. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 84%]

...文件转换的。 之后会执行index.js文件,先来看看入口函数start()[code] start() { return __awaiter(this, void 0, void 0, function* () { let json = JSON.parse(fs.readFileSync("outConfig.json")); this.BaseURL = emiter_1.emiter.BaseURL = json.from; this.outfile = json.out; this.createA...

来源: Laya_社区 发布时间: 20200925

16. viewportPointToRay产生的射线始终有偏差,是为什么? [ 84%]

...te _ray:Ray = new Ray(new Vector3(0, 0, 0), new Vector3(0, 0, 0)); public _start(state:RenderState):void { super._start(state); this._phasorSpriter3D = new PhasorSpriter3D(); this._camera = this._owner.getChildByName("Camera") as Camera; } public _postRenderUpdate(state:RenderState):void { super._up...

来源: Laya_社区 发布时间: 20180201

17. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 83%]

...e; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI.prototype; var Mole=(function(){ function Mole(btn_start){ alert(1) }; })() 2018-05-04 添加评论 免费帖 -...

来源: Laya_社区 发布时间: 20180504

18. laya.resource.NativeRenderTexture2D_API3.0 [ 83%]

...e _create _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRende...

来源: Laya3.0_api 发布时间: 20231115

19. laya.d3.shader.ShaderPass [ 82%]

...thods  MethodDefined By  _compileToTree(parent:ShaderNode, lines:Array, start:int, includefiles:Array, defs:Object):void[override] ShaderPassProperty DetailrenderStatepropertyrenderState:RenderState  [read-only] 获取渲染状态。 Implementation     public function get renderState():Rend...

来源: Laya2.0_api 发布时间: 20190513

20. h5发布后,访问不到图片? [ 82%]

...RR_FILE_NOT_FOUND laya.core.min.js:1 [warn]Retry to load: ../bin/res/btimg/START.png n._endLoad @ laya.core.min.js:1 laya.core.min.js:1 [warn]Retry to load: ../bin/res/btimg/EXIT.png n._endLoad @ laya.core.min.js:1 laya.core.min.js:1 [error]Failed to load: ../bin/res/btimg/START.png n._endLoad @ lay...

来源: Laya_社区 发布时间: 20180112