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

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

1591. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 49%]

...  this.text = new Laya.Text();         this.text.x = Laya.stage.width / 2 -50 ;         this.text.text = "触控点归零";         //显示文本显示框         this.text = new Laya.Text();         this.text.name = "ceshi";         this.text.overf...

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

1592. tween对Text的缩放,为何会抖动呢? [ 49%]

...lor = "#ff0000";     txt.fontSize = 30;     txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1);     Laya.stage.addChild(txt);          Laya.Tween.to(txt, { scaleX: 2, scaleY: 2 }, 5000);   5秒钟把文本放大2倍,感觉是 fontSize在不平...

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

1593. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 49%]

....createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div, { width: 100, height: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandl...

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

1594. UI组件里面 怎么添加echarts统计图 [ 49%]

...ya_Aaron: 那想问问 UI组件的真实物理像素宽高怎么获取 xxx.width获取到的都是UI页面设置的东西 这个宽度高度我是实在没找到

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

1595. Animation 使用疑问 [ 49%]

...Rectangle = this.aniBody.getBounds();         this.aniBody.pivot(bound.width / 2, bound.height / 2);         if (direction < 0) {             this.aniBody.scaleX = -1;         } else {             this.aniBody.scaleX = 1;         }     } 每改变一个方向CurMern...

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

1596. [LayaAir3]Laya3.0 中设置舞台背景透明无效 [ 49%]

...;         this.iframe.style.right = "0";         this.iframe.style.width = "100%";         this.iframe.style.height = "100%"         this.iframe.style.border = "none";         this.iframe.style.zIndex=-1     }   那我有一个需求,想将document 元素 层级设置为-1...

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

1597. Laya3D初始化 window.wxMiniGame is not a function [ 49%]

...this.zombieAnimator.on is not a function if (window["Laya3D"]) Laya3D.init(width,heigh) 调用失败,引起底层问题 浏览器运行提示TypeError: xxx is not a function 希望Laya3D的入门提供一个unity的项目例子 LayaAirIDE2.2 - Laya3D init error ,must support webGL laya3d在vivo小...

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

1598. HtmlDivElement 下划线 [ 49%]

...rSelfToGraphic graphic.drawLine(words[0].x, lineY, lastWords.x + lastWords.width, lineY, color, 1);

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

1599. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 49%]

...edMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoadedMap)); } private var sp:Sprite; private function onLoadedMap():void { var mapLayer:MapLayer=tiledMap.getLayerByIndex(2); sp=new Sprite(); sp.graphics.drawRect(0,0,100,100...

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

1600. 头条/微信/OPPO/vivo/趣头条/百度 等渠道发布 [ 49%]

..... 上一行代码: graphics.drawTexture(shareTexture, 0, 0, shareTexture.width, shareTexture.height); 下一行报错: Uncaught TypeError: this.bitmap.activeResource is not a function 2020-05-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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