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

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

931. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 43%]

...名称,以字符串形式表示 txt.leading = 5; // 垂直行间距 txt.pos(Laya.stage.width - txt.width >> 1, Laya.stage.height - txt.height >> 1); } }   new Text_BitmapFont();   结果截图:   附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

932. laya.ui.List_API3.0 [ 43%]

...动条皮肤。 list.array = arr;//设置 list 的列表数据源。 list.pos(100, 100);//设置 list 的位置。 list.selectEnable = true;//设置 list 可选。 list.selectHandler = new Handler(this, onSelect);//设置 list 改变选择项执行的处理器。 Laya.stage.addChild(list);//将 list...

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

933. FlashDevelop中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 42%]

... = true;         //设置文本的显示起点位置X,Y    txt.pos(60, 100);         //设置舞台背景色    Laya.stage.bgColor = '#23238E';         //将文本内容添加到舞台    Laya.stage.addChild(txt);       }  } } ``` ​ 运行结果如下图所...

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

934. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 42%]

...:function parseComplete(){ skeleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); gr...

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

935. 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) [ 42%]

...):void { progressBar=new ProgressBar("loads/progressBar.png"); progressBar.pos(50,300); progressBar.width=300; progressBar.sizeGrid="5,5,5,5"; //当progressBar的value值改变时触发 progressBar.changeHandler=new Handler(this,onChange); Laya.stage.addChild(progressBar); } private function onChang...

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

936. laya.d3.core.scene.Scene3D_API3.0 [ 42%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache recaculateCullCamera releaseRender removeChild removeChildAt removeChildByName removeChildren removeSelf renderSubmit repaint replaceChild runCallLater scale setChildIndex setGlobalShaderValue setGraphics setSelfB...

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

937. Button属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 42%]

...ild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/C...

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

938. 微信小游戏中iPhoneX的适配问题 [ 42%]

...Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); })); kezhiyu • 2018-06-04 14:38 另外说下你的压缩包如果不是可以用laya 的ide打开的话 他们是不会管的 夏末 • 2018-06-04 14:02 demo已经添加到附件里面了,麻烦您看一下 ...

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

939. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 42%]

提示“AtlasResourceManager:Dispose the inner Atlas。” AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 laya.webgl.js:372 AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 lay...

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

940. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...ild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2....

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