大约有 1,873 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1137) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(48)
...t; document.getElementById('WebViewport').setAttribute('content', 'width=100%,initial-scale=' + 1 / devicePixelRatio + ',target-densitydpi=device-dpi,minimum-scale=0.1,maximum-scale=9,user-scalable=0'); </script> index.html最后有个这个 然后发布release 然后APP构建 ...
来源: Laya_社区 发布时间: 20180201
...anel的大小 3、调整两个Image的位置,一个在x=0,y=0,另一个x=width,y=0 4、代码中,见附件 Banner.zip 2018-08-10 1 3 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 重金悬赏第三方库用法,小伙伴踊跃参加呀。 2018-07-13 0 2 分享 微博 QZONE 微信 zsq 赞同...
来源: Laya_社区 发布时间: 20180713
...dler.create(head_img, function () { this.height = this.width = 77; var cMask = new Laya.Sprite();//创建遮罩对象 var r = 38.5; //遮罩圆形半径 cMask.graphics.drawCircle(0, 0, r, "#ff0000");//画一个圆形的遮罩区域 ...
来源: Laya_社区 发布时间: 20181119
...第一次打开是OK的,但是一转屏立马出现问题。 Laya.stage.width,Laya.stage.height立马出现问题,不能正确的获取屏幕的宽高,而且显示很奇怪。 至于demo 官方2.0实例里面的demo就能说明问题 ,附上链接 https://layaair.ldc.layabox.com/demo2/h5/dem...
来源: Laya_社区 发布时间: 20190507
...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...
来源: laya_api 发布时间: 20170929
...在多少距离的时候拼接,因为玩家昵称长短也不一样。而width属性是文本框长度,非文字长度。 更复杂的情况类似装备名字写在文字里面, 这样要分更多段了 请问:layaAir有没有提供好的解决方法 2017-05-05 添加评论 免费...
来源: Laya_社区 发布时间: 20170505
...{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
... 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
...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
...; _txt.wordWrap=true; _txt.width=300; _txt.height=_txt.textHeight+10; _txt.y=60; Laya.stage.addChild(_txt); 用的字体是外加载的隶书字体 然后在电脑上显示就非...
来源: Laya_社区 发布时间: 20180131