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

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

1651. android studio 不支持标签 <Script Language="JavaScript"> [ 50%]

...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'); &lt;/script&gt;    index.html最后有个这个  然后发布release 然后APP构建 ...

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

1652. laya中怎样使用jQuery写广告轮播 [ 50%]

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

1653. 2.0)js按照官方遮罩写的程序,无法正常执行, 请问怎么回事,代码见内。 [ 50%]

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

1654. 2.0的版本在ios下适配横竖屏有问题。 [ 50%]

...第一次打开是OK的,但是一转屏立马出现问题。 Laya.stage.width,Laya.stage.height立马出现问题,不能正确的获取屏幕的宽高,而且显示很奇怪。 至于demo 官方2.0实例里面的demo就能说明问题 ,附上链接 https://layaair.ldc.layabox.com/demo2/h5/dem...

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

1655. laya.display.Input [ 50%]

...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)&gt;hitArea(type:Rectangle)&gt;width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...

来源: laya_api 发布时间: 20170929

1656. 如何改变text部分字的颜色或两个不同颜色的text如何拼接看起来像一个文本? [ 50%]

...在多少距离的时候拼接,因为玩家昵称长短也不一样。而width属性是文本框长度,非文字长度。   更复杂的情况类似装备名字写在文字里面, 这样要分更多段了 请问:layaAir有没有提供好的解决方法     2017-05-05 添加评论 免费...

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

1657. layaAirIDE 打包APK 后 真机运行报错 [ 50%]

...{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

1658. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 50%]

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

1659. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 50%]

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

1660. 文字显示模糊 [ 50%]

...;             _txt.wordWrap=true;             _txt.width=300;             _txt.height=_txt.textHeight+10;             _txt.y=60;             Laya.stage.addChild(_txt); 用的字体是外加载的隶书字体 然后在电脑上显示就非...

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