大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
...加启动参数可以解决跨域问题。 在chrome浏览器快捷方式->右击打开属性->快捷方式一栏->目标末尾添加 --allow-file-access-from-files 打开快捷方式,将转换后自动生成的html文件拖拽至chrome浏览器即可正常显示。 2015-10-28 3 9 分...
来源: Laya_社区 发布时间: 20151028
...nexpected token in JSON at position 266 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:31158/game/code.js:21236:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:31158/game/code.js:22404:25) at Handler.__proto.runWith (http:...
来源: Laya_社区 发布时间: 20190422
... transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0);"></canvas> var canvas:any = document.getElementById("layaCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "red"; ctx.fillRect(120, 10, 150, 150); console.log("draw comple...
来源: Laya_社区 发布时间: 20170502
.../串盒子 this.chuanBox = new Laya.Rectangle(Laya.stage.width - boxWidth >> 1, Laya.stage.height - boxHeight - 10, boxWidth, boxHeight); //画出盒子 Laya.stage.graphics.drawRect( this.chuanBox.x, this.chuanBox.y, this.chuanBox.width, this.chuanBox.height, "#FFFFEE", "#FFFFFF", 2); this.sag...
来源: Laya_社区 发布时间: 20181026
...自: 可能总得资源太大了,导致Out Of Memory了,通过菜单=>帮助=>开发人员工具可以看到具体的报错信息。 2020-06-19 0 0 分享 微博 QZONE 微信 隔壁老王 赞同来自: 请问题主,问题解决了没有,遇到了同样的问题 2020-07-09 0 1 分享 ...
来源: Laya_社区 发布时间: 20200225
...工具Cannot assign to read only property 'window' of object '#<Window>' Cannot assign to read only property 'window' of object '#<Window>'这个问题到底怎么解决?有官方的回复了么? 我这里将ES6转ES5取消后,真机调试又不行“缺少文件,ERR :file game...
来源: Laya_社区 发布时间: 20190825
...,无法调用场景内的子物体 1. 打开场景(带onComplete事件)-> onOpened()中添加子对象(View-View节点下有个Box) 2.onOpened函数周期结束,也收到了场景complete的回调->这个时候需去调用View下面的Box。 Box为undefined。 3. View.onEnable()中 Box存...
来源: Laya_社区 发布时间: 20200611
...文档LayaAir3-IDE可视化2D物理编辑详解 Author : Charley Version >= LayaAir 3.2 一、新手必读 1.1 前言 本篇涉及2D物理IDE可视化编辑的全部内容,也就是说,不需要写一行代码,就可以通过可视化操作完成了物理的配置与效果实现。 如果...
来源: Laya3.0_文档 发布时间: 20251010
...*/ __proto.getInt16=function(){ if (this._pos_+2 > this._length)throw "getInt16 error - Out of bounds"; var us=this._d_.getInt16(this._pos_,this._xd_); this._pos_+=2; return us; } 只在那个 If 那一行报错了 ...
来源: Laya_社区 发布时间: 20181025
...d(tl); //播放Animation动画 tl.play(); tl.on(Event.COMPLETE, this, () => {console.log('end')}); } 2018-08-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zyx 相关问题 看了其他引擎才发现 LAYA 真的太太太太好用...
来源: Laya_社区 发布时间: 20180817