大约有 1,754 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1137) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(42)
...dimage的描述是: loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null) 官方文档也是这么用的:http://ldc.layabox.com/doc/?nav=zh-ts-1-3-2 我把文档的代码完整复制到vscode里,vs code会报错。IDE F6 运行也编...
来源: Laya_社区 发布时间: 20200522
...第一次打开是OK的,但是一转屏立马出现问题。 Laya.stage.width,Laya.stage.height立马出现问题,不能正确的获取屏幕的宽高,而且显示很奇怪。 至于demo 官方2.0实例里面的demo就能说明问题 ,附上链接 https://layaair.ldc.layabox.com/demo2/h5/dem...
来源: Laya_社区 发布时间: 20190507
...; _txt.wordWrap=true; _txt.width=300; _txt.height=_txt.textHeight+10; _txt.y=60; Laya.stage.addChild(_txt); 用的字体是外加载的隶书字体 然后在电脑上显示就非...
来源: Laya_社区 发布时间: 20180131
...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...
来源: laya_api 发布时间: 20170929
...{function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1:162) at eval (native) at Document._downloadOk (apploader.js:6125:20) at apploader.js:6104:20 at FileReader.filereader.onlo...
来源: Laya_社区 发布时间: 20180108
...on({ type: 'text', text: '获取用户信息', style: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的怎么弄 __JS__('w...
来源: Laya_社区 发布时间: 20180728
... new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX = this.playerHB.width / 2; this.playerHB.pivotY = this.playerHB.height / 2; this.playerHB.y = 500; this.playerHB.txtName.text = "搞个毛啊"; // this.playerVO.name; this.addChild(this.playerHB); } private aaa():void { this.playerHB.x += th...
来源: Laya_社区 发布时间: 20180102
... this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要上...
来源: Laya_社区 发布时间: 20190117
...10,10,10,10); console.log(abc); 代码。 Rectangle {x: 10, y: 10, width: 10, height: 10} 控制台结果, 综上,你的引擎环境有问题。 2018-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 进击的猎人 相关...
来源: Laya_社区 发布时间: 20180607
...在多少距离的时候拼接,因为玩家昵称长短也不一样。而width属性是文本框长度,非文字长度。 更复杂的情况类似装备名字写在文字里面, 这样要分更多段了 请问:layaAir有没有提供好的解决方法 2017-05-05 添加评论 免费...
来源: Laya_社区 发布时间: 20170505