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

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

141. 特效播放问题 [ 60%]

...geInAtlas = false; rgxianzhan • 2017-10-23 19:39 不能在加载时候设置大图合集么,使用地方真不少 Monica • 2017-10-23 20:01 @rgxianzhan:关闭大图合集:AtlasResourceManager._disable(); rgxianzhan • 2017-10-24 12:04 这个试过了,不是大图合集问题,...

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

142. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 60%]

... Laya.MiniAdpter.init(); //初始化引擎 Laya.init(600, 400, WebGL); //设置屏幕缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE;//不缩放屏幕 //设置屏幕水平居中 Laya.stage.scaleMode = Laya.Stage.ALIGN_CENTER; //设置屏幕垂直居中 Laya.stage.scaleMode = Laya.Stage....

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

143. laya.ui.UIGroup [ 59%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

144. layaair1.78版本 textarea和textinput在电脑平台时一点击整个canvas往上移动。 [ 59%]

...版本PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 如何设置Sprite宽高和点击区域? 求指点3d射线碰撞和UI点击穿透问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 请问2.0版本开始,我用ts编...

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

145. laya.display.Input_API3.0 [ 58%]

...如果节点需要加载相关皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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

146. laya.ui.Tab [ 58%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

147. laya.ui.RadioGroup [ 58%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

148. laya.ui.TextInput_API3.0 [ 57%]

...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...

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

149. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 57%]

...方法,那么就需要对`Laya.Hanlder.create()`方法中`once`参数设置为`false`。或者用`new Laya.Handler()`方式创建。 例如,我们需要在游戏开始界面中加载资源,需要对加载资源进度进行显示,下面编码为就是错误。 1. `Laya.loader.l...

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

150. laya.ui.TextArea_API3.0 [ 57%]

...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

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