大约有 734 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
...然后通过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
...是有个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
...动画面后 报停止运行。用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
...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
... 测试地址: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
...化引擎 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
...横屏,而且还被拉伸了 微信小游戏如何竖屏 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' 请问在layaIDE里,怎么调用微信小程序API 如何实现微信登录? 编译调试启动chrome出现错误: Error processing launch: Error C...
来源: Laya_社区 发布时间: 20250401
...加载zip资源的扩展包,提供了友好和简单的API接口。与LayaTree一样,都使用Big AOP大切面理论进行设计,能够让游戏的加载速度提升350%。效果 资源包体资源大小8.4M,压缩包体4.3MB情况下,: 使用laya-zip下加载多个资源的耗时784毫秒 ...
来源: Laya_社区 发布时间: 20211227
...: https://mp.weixin.qq.com/debug/wxagame/dev/tutorial/open-ability/open-data.html 在LayaAir引擎里也支持微信小游戏关系链的使用,具体使用方式在官方提供的适配库里也给出了接口初始化说明, MiniApdter.init的第二个参数设置成true,就是是否把...
来源: Laya_社区 发布时间: 20180310
...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