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

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

1731. mac 开放域 发布失败 [ 65%]

....app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:8965:16)     at Stage.__proto.render (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:59716:16)     at Stage.__proto.render (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEdit...

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

1732. laya.d3.core.scene.BaseScene [ 64%]

...lean是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  enableDepthFog : BooleanBaseScene  enableFog : Boolean 获取是否允许雾化。 BaseScene  enableLight : Boolean = true 是否启用灯光。Bas...

来源: laya_api 发布时间: 20170422

1733. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 64%]

...过2048导致引发上面的问题 this.mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");

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

1734. laya.ui.Slider_API3.0 [ 64%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...

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

1735. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 64%]

...本的显示起点位置X,Y txt.pos(60, 100); //设置舞台背景色 Laya.stage.bgColor = '#23238E'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } }  2. 修改.as3proj文件相应标签如下 <compileTargets> <compile path="src\HelloWorld.as" /> </compileTargets>...

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

1736. 分享个用美术资源做位图文本的方法。。。 [ 64%]

...,imageData,600,"right"); bp.padding = bp1.padding = bp2.padding = -7; Laya.stage.addChild(bp); Laya.stage.addChild(bp1); Laya.stage.addChild(bp2); var t = 1000; Laya.timer.loop(1000,that,function(){ bp.text = t + ""; bp1.text = t + ""; bp2.text = t + ""; t++; }) } )); } } new GameMain(); 运行效...

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

1737. Starling项目需要注意哪些问题? [ 64%]

...资源不支持,转换H5的时候需要还原成原来的资源, ATF是Stage3D内置支持的纹理压缩格式,并非一个通用的纹理压缩格式,建议转换回png或jpg的纹理格式。 2.Embed资源不支持,需要使用AssetManager来管理资源,或者使用Loader, URLLoader等...

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

1738. laya.ui.FontClip_API3.0 [ 64%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...

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

1739. 如何用代码控制panel的vscroll滚动幅度 [ 64%]

...ass LayaAirDemo { public function LayaAirDemo() { Laya.init(600,600); Laya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { //panel 切记设置宽高,否则panel不显示 var panel:Panel=new Pane...

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

1740. IOs使用手动删除本地资源再次进去加载问题 [ 64%]

...Handler.create(null, onLoaded2));      }  function onLoaded2() { Laya.stage.addChild(new TestUI()); }当用这种方式分步加载资源的时候 就会出现我说的情况  ios下会 安卓是正常, 第一步的资源会加载成功,第二部分的资源就加载失败 2018-07-31 0 0 ...

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