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

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

1321. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 51%]

...3-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/...

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

1322. laya.ui.ProgressBar_API3.0 [ 51%]

...ic class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"],...

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

1323. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 51%]

...行后就会报下面的错:Error: Mismatched anonymous define() module: function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const t = require("./test/TestExportClass"); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); c...

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

1324. LayaAir3D UnityPlugin 1.7.16 [ 51%]

...: 这是跑错的异常: Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataManager:saveLayaParticleLmatData(Mat...

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

1325. 关于分包的问题,是否是编译器bug? [ 51%]

...函数,运行时当然就是报错,找不到定义,内容如下: (function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new ...

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

1326. zip更新模式缓存是怎么读取的?? [ 51%]

...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...

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

1327. laya.display.cmd.DrawPieCmd_API3.0 [ 51%]

...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property

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

1328. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 51%]

...(A,B两种方法) 报如下错误:   value._addReference is not a function   请问现在2。0该如何处理? 附件 : --> 2018-10-01 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 淡淡的疯 ...

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

1329. [LayaAir3]通过对象池创建的物体,发生碰撞后,再通过对象池复用就会出现pos函数找不到的情况 [ 51%]

...复用时就会出现问题,现象如下图所示的 bullet.pos is not a function的报错。移除碰撞组件或者不发生碰撞就一切正常。   附件 : --> TestCollider.zip 2024-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

1330. Laya2.12 打安卓包的时候报错报到了 physics3D [ 51%]

...东西崩溃了吗 laya加载unity插件导出的场景 physics3D is not a function Laya2.12项目 左上角出现笑脸,是什么东西崩溃了吗 射线惊天大bug之physics3D physics3D中使用CharacterController组件如何改变模型朝向 求解Physics3D 内存占用问题 layabox2.5.0之...

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