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

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

1051. layaAir打包竖屏3D小游戏apk包,出现这情况 [ 68%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机...

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

1052. list 重新绑定数据后 scrollBar.value 会没有限制的增加或减少,list上下都会出现很多空白的区域. 而scrollBar.slider.value 是正确的 .请问该如何处理 [ 68%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 如何设置Sprite的宽高和点击区域? 微信小程序—未找到入口 app.json 文件,或...

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

1053. 为什么字符串不能连接? [ 68%]

...length*Math.random(); str+=arr[index];//在IDE里面这句报错 [ts] Operator '+' cannot be applied to types 'String' and 'String'. } return str; }   2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Lay...

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

1054. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 68%]

...面使用引擎,一般3-4个就报错了 Uncaught DOMException: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6). at Function.<anonymous> (<anonymous>:10787:310) at Function.get (<anonymous>:168:66)...

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

1055. 谷歌浏览器在打开状态再启动FB调试会load不到资源?比如我先用谷歌打开百度,然后FB调试,就会加载不到资源,如果关掉谷歌,再调试就没有问题 [ 68%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. iphon...

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

1056. 关于图集和配置文件(json || atlas)的问题 [ 68%]

...图就是so_main_base.png,死活就加载不出来, 报错 [warn]Retry to load: UI/so_main_base.png [error]Failed to load: UI/so_main_base.png 一开始我怀疑尺寸太大,就换了一张2000*300的图,就可以加载上= =这张图就不行,请问是图片格式哪不对吗 麻烦指教...

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

1057. 飞机大战出现的问题注册了类New的时候报错未定义 [ 68%]

...oop); } //注册类 Laya.regClass(BackGround,"BackGround",_super); var _proto = BackGround.prototype; _proto.onLoop = function(){ //背景容器每帧向下移动一像素 this.y +=1; //如果背景图到了下面不可见的位置,立即调整位置到最上边 if(this.bg1.y+this.y>=852){ this...

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

1058. onOpen方法是位于哪个类下面? [ 68%]

... JS如何调用经过转换的FLASH游戏里的方法? websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 節點的destroy方法...

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

1059. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 68%]

... }         private function onUP():void{             imag.stopDrag();         } 2.color="#0"程序崩溃              var _mDown:Sprite=new Sprite();             _mTop.graphics.drawRect(0,0,1,1,"#0");     3.叠加效果 BlendMode.ADD,apk中无效   4.MouseM...

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

1060. fatal error: 'string' file not found [ 68%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target Error: asBitmap no size! IDE不能运行调试提示:Chrome error: Error:... 切换场景编辑器时 Laya3D init error must support webGl Failed to load resource: net::ERR_FILE_NOT_FOUND Laya3D init error, mu...

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