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

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

1111. 关于项目分包的问题?? [ 66%]

...):void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false); //是否显示帧率 if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e...

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

1112. laya.wxmini.js里面window对象的属性window是只读的,不能给他赋值。 [ 66%]

...鼠游戏发布到微信开发者工具后遇到的问题。 Cannot assign to read only property 'window' of object '#<Window>' TypeError: Cannot assign to read only property 'window' of object '#<Window>'   附件 : --> 2018-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

1113. Laya中的宏编译要怎么用啊 [ 66%]

...unction Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; __JS__Test(); } private ...

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

1114. [LayaAirIDE3]在laya3.3.2中使用加载跨域资源拼接成后边缘出现缝隙 [ 66%]

...启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 Laya2.12.0项目出现卡顿现象(必现) 谷歌浏览器播放mp3出现The AudioContext was not ...

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

1115. 一个修复Laya1.8.3中的粒子销毁时报错黑屏问题的思路 [ 66%]

...   参考:https://stackoverflow.com/questions/12427880/is-it-important-to-call-gldisablevertexattribarray   问题出在粒子系统的shader用到了很多顶点属性,一般的shader顶多用2~3个,粒子系统用到了10个,而这些属性在enableVertexAttribArray之后没有disableVer...

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

1116. 谁能提供一份.fnt资源吗,万分感谢 [ 66%]

...下这个项目,为什么会一直报 laya.core.js:12326 [error]Failed to load: fnts/test.png laya.core.js:12321 [warn]Retry to load: fnts/test.png   错误   附件已上传!   keyi.zip 2017-08-30 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 字体文件必须是xml格...

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

1117. Android打包后运行报错 [ 66%]

...Main.max.js:16077: ReferenceError: CanvasRenderingContext2D is not defined to=to || CanvasRenderingContext2D.prototype;          ^^                                   ReferenceError: CanvasRenderingContext2D is not defined     at Function.Context.__init__ (http://stand.alone....

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

1118. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 66%]

...添加2d刚体吗 这边添加会出现报错 TypeError: this.owner.localToGlobal is not a function preload.js:55 at RigidBody.__proto._createBody (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.physics.js:2031:27) at RigidBody.__proto._onAwake (/Users/tuyoo/client5/work/...

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

1119. 屏幕截图后,出现模型穿透和透视bug! [ 66%]

... wulilioo 发了一篇博客 就是针对这个问题 关于Laya使用drawToCanvas截图出现模型穿透和穿模的解决办法 2018-07-18 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个截图是怎么做的?我们没有做截图的接口。这个能锁定问题在哪吗? 2018...

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

1120. 3d中 缓动往一个点转向并移动的问题 [ 66%]

...ternion=new Quaternion(); var out2:Quaternion=new Quaternion(); var dir:Vector3=new Vector3() ; Vector3.subtract(transform.position,sphere3D.transform.position,dir); Quaternion.rotationLookAt(dir,Vector3.Up,out); Quaternion.slerp(transform.rotation,out, Laya.timer.delta/1000,out1); transform.rotatio...

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