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

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

711. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 41%]

...然后通过drawLines来画。给你 一个参考代码   export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values...

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

712. laya打包iOS,运行奔溃,构建时候选择的是2.3.0 [ 41%]

...是有个alert弹窗,上面的文字: exception info:[TypeError: this._nativeObj.addGlobalValueDefine is not a function.(In "this._nativeObj.addGlobal ValueDefine(modifyType, type, size, defaultData)", "this._nativeObj.addGlobalValueDefine" is undefined)] at line  4664. 附件 : --> 2020-02-18 ...

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

713. 使用layaAirIDE打包APK问题 [ 41%]

...动画面后 报停止运行。用ddms看到日志里有  A/libc(972): Fatal signal 11 (SIGSEGV) at 0xdead0000 (code=1), thread 972 (om.mygame.laya3) E/InputDispatcher(440): channel '52970f34 com.mygame.laya3/layaair.game.browser.MainActivity (server)' ~ Channel is unrecoverably broken and will be ...

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

714. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 41%]

...cc(378)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details. engine libs bin://engine/libs/spine-core-3.8.js,bin://engine/libs/laya.bullet.js,bin://engine/libs/laya.box2D.js loadLibs: 63.001220703125 ms initLayaStage: 112.833984375 ms installPackages: 0.74096679...

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

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

...   测试地址:https://layaair.ldc.layabox.com/demo2/?language=ch&category=2d&group=Text&name=BitmapFont 测试代码: let fontName = "diyFont";   class Text_BitmapFont { constructor() { const  Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat;   /...

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

716. 我升级引擎到1.7.16beta,从Unity导入的模型就遇到问题了,可以帮我查看一下吗? [ 39%]

...化引擎 Laya3D.init(1920, 1080, true); // //开启统计信息 // Laya.Stat.show(); //适配模式 //Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; //Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.scaleMode = Laya.Stage.SCALE_NOBORDER; Laya.stage.screenMode = Laya.Stage.SCREEN_NON...

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

717. [LayaAirIDE3]微信小游戏资源加载失败,提示"删除错误记录:xxxx" [ 39%]

...横屏,而且还被拉伸了 微信小游戏如何竖屏 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' 请问在layaIDE里,怎么调用微信小程序API 如何实现微信登录? 编译调试启动chrome出现错误: Error processing launch: Error C...

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

718. [0]laya-zip让你的游戏加载速度提升350%!! [ 36%]

...加载zip资源的扩展包,提供了友好和简单的API接口。与LayaTree一样,都使用Big AOP大切面理论进行设计,能够让游戏的加载速度提升350%。效果 资源包体资源大小8.4M,压缩包体4.3MB情况下,: 使用laya-zip下加载多个资源的耗时784毫秒 ...

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

719. 关于微信小游戏关系链的问题 [ 34%]

...: https://mp.weixin.qq.com/debug/wxagame/dev/tutorial/open-ability/open-data.html   在LayaAir引擎里也支持微信小游戏关系链的使用,具体使用方式在官方提供的适配库里也给出了接口初始化说明, MiniApdter.init的第二个参数设置成true,就是是否把...

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

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

...e": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */     // "lib": [],                             /* Specify library files to be included in the compilation. */     // "allowJs": tr...

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