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

大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

1031. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 48%]

...LoadProgressBinder.bindAll) this.progressUI.UIMenu.value = 0.0; Laya.stage.addChild(this.progressUI.displayObject); Laya.timer.loop(100, this, this.updataPosition); this.loadMainDatas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public lo...

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

1032. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 48%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

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

1033. laya.map.TileAniSprite [ 48%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

1034. 在webgl适配方式为showall下图形绘制问题 [ 48%]

...], ["closePath"]], {fillStyle: "#00ffff"}); Laya.stage.addChild(sp1); ymsdandan • 2017-11-27 15:56 你的代码,我这里测试是没有问题的,要你把版本更新到1.7.12beta试试吧 jweilan • 2017-11-27 15:59 @ymsdandan:你用js测试的吗?我这边是使用...

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

1035. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 48%]

...omplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("par...

来源: Laya2.0_文档 发布时间: 20210715

1036. 无法触发浏览器文件上传框 [ 48%]

...labelSize = 12; button.labelColors = '#000000,#000000,#000000'; Laya.stage.addChild(button); return button; } private onClick(): void { // 触发浏览器文件上传框 let fileInput = Laya.Browser.document.getElementById('file'); fileInput.click(); console.log(fileInput);//input#file } } new GameM...

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

1037. laya.physics.PhysicsDebugDraw_API3.0 [ 48%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

1038. laya.particle.Particle2D [ 48%]

...ng:ParticleSetting) 创建一个新的 Particle2D 类实例。 Particle2D addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  advanceTime(passedTime:Number =...

来源: laya_api 发布时间: 20170929

1039. laya.display.Node [ 48%]

...c Methods Show Inherited Public Methods MethodDefined By  Node()Node  addChild(node:Node):Node 添加子节点。 Node  addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node  addChildren(... args):void 批量增加子节点 Node  addComponent(type:Class):* ...

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

1040. laya.map.GridSprite [ 48%]

...AniSprite):void 把一个动画对象绑定到当前GridSprite GridSprite addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  clearAll():void 重置当前对...

来源: laya_api 发布时间: 20170929