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

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

231. 关于laya3d的性能优化和几个疑似bug [ 50%]

...  第二个问题,我们在登录主界面,有几个按钮,和一张背景图,和一个公告区,非常简单的一个2d界面。公告区是走马灯效果的一行滚动文字,用mask实现的,在低端机型渲染会出错闪屏,如下是三帧截图效果,在高端机上就没...

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

232. laya.ui.List_API3.0 [ 47%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete...

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

233. laya.ui.ComboBox_API3.0 [ 47%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("...

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

234. laya.ui.TextArea_API3.0 [ 45%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。"...

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

235. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 45%]

...ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(skin, Handler.create(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete(e:*=null):void { //实例化下拉列表 c...

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

236. laya.ui.List [ 45%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent  cach...

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

237. laya.display.Input [ 44%]

...e,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

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

238. 物理(三)(马达,轮子,滑轮)(TypeScript-IDE篇(TS)-使用2d物理系统) [ 44%]

...示: ![图](img/8.png) 只需要将两个圆形连接,木板是作为背景参照的,运行一下就看起来木板上两端有两个滑轮,并且可以用鼠标拖拽ball1,观察效果: ![图](img/5.gif) 更多问题请访问社区http://ask.layabox.com

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

239. laya.ui.Tree_API3.0 [ 43%]

...e() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "...

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

240. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 43%]

... dialog 自定义关闭效果,效果执行完,弹窗无法关闭 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 发布到vivo平台后,龙骨...

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