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

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

7651. 输入设备-贪吃蛇(重力感应) [ 79%]

...otype.getPinPosition = function() { var radian = this.rotation * Math.PI / 180; var tx = this.x + Math.cos(radian) * this.width; var ty = this.y + Math.sin(radian) * this.width; return new Point(tx, ty); } this.size(width, height); this.init(); } Laya.class(Segment, "Segment", Sprite); var seg; var ...

来源: Laya_示例 发布时间: 20260303

7652. 引擎有没有管理或访问系统剪贴板的方法函数 [ 79%]

...法函数 引擎有没有管理或访问系统剪贴板的方法函数 2017-06-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 186*****590 由于剪贴板的功能存在较大的兼容...

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

7653. htmlCanvas.toBase64在iPhone上转换结果错误 [ 79%]

...art(){ var htmlCanvas = StageUI.instance.imageSp.drawToCanvas(200, 200, 0, 100); //截取精灵图片绘制到Canvas var texture = htmlCanvas.getTexture(); //获取纹理  StageUI.instance.saveTexture.graphics.drawTexture(texture, 0, 0, 0, 0);//绘制截取到的纹理 //可以获得base64位图,...

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

7654. 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [ 79%]

..., 貌似是谷歌浏览器自动更新了这个版本有关系 66.0.3359.139 2018-05-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple 赞同来自: vvv123 、princekin 、Nevermore 这是chrome 66带来...

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

7655. [LayaAirIDE3]LayaAir 3 相对布局和图片旋转后呈现不正常 [ 79%]

[LayaAirIDE3]LayaAir 3 相对布局和图片旋转后呈现不正常 图1是图片没有旋转的情况下 相对布局水平左右为0的情况是正常的 图2是图片旋转90度后 相对布局垂直上下为0的情况是不正常的 附件 : --> LayaProject.zip 2024-05-20 添加评论 免费...

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

7656. 求分享 layabox ide js开发环境常用插件 [ 79%]

...发环境常用插件 比如显示函数 对象列表的。 附件 : --> 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 目前官方暂时不提供第三方插件,你可以通...

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

7657. 官网示例摇一摇报错,就解决方案 [ 79%]

...  就会报错为什么    求大神解答 附件 : --> 摇一摇.zip 2017-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: cai95854006 、游走白夜 你在index.html...

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

7658. [LayaAir3]WaterPrimaryMaterial的shader为空 [ 79%]

[LayaAir3]WaterPrimaryMaterial的shader为空 版本3.1.1,使用这个材质时警告unknown shader name "WaterPrimary" 附件 : --> 2024-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Fred 赞同来...

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

7659. Cannot connect to runtime process, timeout after 10000 ms [ 79%]

Cannot connect to runtime process, timeout after 10000 ms 参照例子新建了一个TS项目,可以用layaair调试,但无法使用chrome调试。报错: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: undefined).   1.已经试过任务管...

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

7660. 网络请求添加headers后 post数据错误 [ 79%]

...ent.ERROR, this, this.onHttpRequestError); this.http.send(url, 'chapterid=7125', 'post', 'json', headers); 正常示例// this.caller = caller; this.callbackHandler = callback; // this.errcallback = errcallback; //this.http.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.http.once(...

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