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

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

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

...a,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

202. 安装layaair2-cmd一直失败 [ 35%]

...    at EventEmitter.emit (events.js:210:5) 31944 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 31944 verbose stack     at ChildProcess.emit (events.js:210:5) 31944 verbose stack     at maybeClos...

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

203. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 32%]

...= Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name"...

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

204. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

...Box</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'&gt...

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

205. 背景音乐来回切换报错 [ 32%]

...MainActivity} 07-16 13:28:37.152 402-413/? W/WindowManager: Force-removing child win Window{4a9533a0 u0 SurfaceView} from container Window{4a9455c8 u0 com.layabox.game/demo.MainActivity} 07-16 13:28:37.152 402-748/? W/WindowManager: Failed looking up window     java.lang.IllegalArgumentException: ...

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

206. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 32%]

....width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya.Clip; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/c...

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

207. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 31%]

...y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [{"type": "Clip", "pro...

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

208. laya.ui.LayoutBox_API3.0 [ 25%]

...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addC...

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

209. laya.ui.VBox_API3.0 [ 25%]

...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...

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

210. laya.ui.HBox_API3.0 [ 25%]

...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...

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