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

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

12711. LayaAir2.0开始就无法设置透明背景了吗? [ 50%]

...ue; Laya.init(480, 900); Laya.stage.bgColor = "none"; }   AS3版,从Laya1.x升级过来之后,发现2.0-2.8都无法通过这个来设置背景透明。 这让人很绝望啊。。。   附件 : --> 2020-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

12712. JS、TS项目添加libs/xxx.xxx.js文件的顺序? [ 50%]

JS、TS项目添加libs/xxx.xxx.js文件的顺序? 2016-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: <!--第一个添加laya.core.js文件--> <script src="libs/laya.cor...

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

12713. 小游戏取消自动缓存后MiniAdpter.autoCacheFile=false, 怎样去加载自己手动缓存的本地文件 [ 50%]

...吧?,要怎么加载你们官方有没有手动缓存的demo呢? 2018-08-09 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Sky 赞同来自: /**          * 判断缓存里是否存在文件       ...

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

12714. iOS平台,WiFi连网正常,4G下经常失败 [ 50%]

...码,无法跟踪具体原因, 下面是日志(域名做了修改)2018-01-11 10:18:57.950540+0800 CJPK_iOS[8382:4736773] download error: timeout, dt=8,opttimeout=1798 2018-01-11 10:18:57.950965+0800 CJPK_iOS[8382:4736773] Downloaded http://test.xxx.com/update/ass ... 66%40 s=0 l=0 2018-01-11 ...

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

12715. BoxCollider包围盒位置偏了,不在对象上 [ 50%]

...BoxCollider是在对象上的,但是在游戏中位置偏到一边了 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 Laya_Aaron 赞同来自: 是直接套上去就歪了吗?有没有注意到unity ...

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

12716. Laya.Pool.getItemByClass 闪退 [ 50%]

...e:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/common/CFSprite.js:28:14) at GameView.addFinsh (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/GameView.js:39:29) at GameView.onLoop (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/GameView.js:83:26) at TimerHandler.__proto.run (...

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

12717. AS引用AS项目打包出来的JS不能用 [ 50%]

...现两个<div id="layaContainer"><canvas id="layaCanvas" height="1242" width="2208" style="position: absolute; left: 0px; top: 0px; background: rgb(35, 38, 40); transform-origin: 0px 0px 0px; transform: matrix(0.333333, 0, 0, 0.333333, 0, 0);"></canvas><div style="position: abso...

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

12718. prop 识别不到 [ 50%]

...  /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完成", this.speed);     } }   IDE中报错: [15:26:34] Working directory changed ...

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

12719. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 50%]

...andler = Laya.Handler;     var WebGL = Laya.WebGL;     var SPACING = 100;     var INPUT_WIDTH = 300;     var INPUT_HEIGHT = 50;     var Y_OFFSET = 50;     var skins;     (function()     {         // 不支持WebGL时自动切换至Canvas         Laya.init(800, 600...

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

12720. 绘制形状时事件不触发 [ 50%]

绘制形状时事件不触发 function myRing(x,y,r1,color1,r2,color2) {         this.sprite = new Laya.Sprite();     this.sprite.on('mousedown', this, on_down);     this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2);     this.sprite.graphics.drawCircle(x, y, r1, color1, color...

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