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

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

71. 用模块器报错,真机不会有这个问题,具体看补充 [ 59%]

...e=53KB, data=39KB I/art: Increasing code cache capacity to 256KB W/System: ClassLoader referenced unknown path: /data/app/com.layademo-1/lib/x86           [ 02-16 02:37:06.759  1874: 1874 D/         ]           >>>>>>>>>>>>>>>>>>&g...

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

72. LayaAir下如何分包? [ 59%]

... module.def 要这样写:  module:"../res/js/maingame" path:"modules\class\src"编译完成后,maingame.js 就不会被单独放置到 js目录下,而是放置到了 res/js 目录。     2017-07-31 0 0 分享 微博 QZONE 微信 sevennqi 赞同来自: 。。。。。。 2017-08-04 0 0 分...

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

73. laya.d3.utils.Utils3D_API3.0 [ 58%]

...rited Externals Only exported Menu Globals "laya/d3/utils/Utils3D" Utils3D Class Utils3D Utils3D 类用于创建3D工具。 Hierarchy Utils3D Index Properties _tempV0 _tempV1 Methods PointinTriangle _getNodeByHierarchyPath _getParentNodeByHierarchyPath billboardTrans createAffineTransformationArray ...

来源: Laya3.0_api 发布时间: 20231115

74. downloadFile:fail url scheme is invalid [ 57%]

...致Templet删不掉 关于页面访问 url 带参 疑问 ? laya 2.0 用class创建scene, 实例 的 url属性为null, layaAir 运行了url地址会停止当前运行 发布小游戏时提示:[xmldom error] element parse error: Error: invalid tagName: 问题状态 最新活动: 2019-02-14 17:02 浏...

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

75. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 57%]

...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont";   class Text_BitmapFont { constructor() { const  Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat;   // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...

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

76. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 57%]

...lization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit...

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

77. AS3与JS混合编码(ActionScript-2D进阶篇(AS3)-扩展模块) [ 55%]

...: **方式一:** ```java package { import laya.utils.Browser; public class JSDemo { public function JSDemo() { //初始化引擎 Laya.init(0, 0); //运行JS alert Browser.window.alert('我是alert'); } } } ``` **方式二:** ```java package { public class JSDemo { public function JSDemo() { //...

来源: Laya2.0_文档 发布时间: 20210715

78. 启动引擎报错 mPlugin.game_plugin_init(3); [ 54%]

... libraies, dex_files: 1 I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<hs>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;                 at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java...

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

79. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 54%]

...Texture; import laya.utils.Handler; import laya.display.BitmapFont; public class TestBitmapFont { //自定义文件名称 private var mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这里不...

来源: Laya2.0_文档 发布时间: 20201114

80. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 54%]

...fect, BlurMaterial } from "../shader/BlurShader/BlurEffect";  export class CommandBuffer_Outline {      private commandBuffer: Laya.CommandBuffer;     private cameraEventFlag: Laya.CameraEventFlags = Laya.CameraEventFlags.BeforeImageEffect;     private camera: Laya.Camer...

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