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

大约有 713 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

471. 文本-位图字体 [ 72%]

...pFont.setSpaceWidth(10); Text.registerBitmapFont(fontName, bitmapFont); createText(fontName); } function createText(font) { var txt = new Text(); txt.width = 250; txt.wordWrap = true; txt.text = "Do one thing at a time, and do well."; txt.font = font; txt.leading = 5; txt.pos(Laya.stage.width - txt....

来源: Laya_示例 发布时间: 20241002

472. 小游戏项目 加载有中文的json文件 报错 [ 72%]

... var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工具中报错 Unexpected toke...

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

473. 射线形状检测shapeCastAll返回的检测结果只第一次有效 [ 72%]

...差,是为什么? 关于2d碰撞检测 [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 box2d 的碰撞检测 问题状态 最新活动: 2020-10-23 14:20 浏览: 3433 关注: 3 人 136*****507 • 2020-10-21 09:30 可以使用!!感谢!解...

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

474. 自定义派发事件页面跳转为啥就会报错 [ 72%]

...text赋值就会报错。 TypeError: Cannot read property 'text' of null at Label.__proto (/bin/libs/laya.ui.js:4365:19) at Label.remoteFunction (<anonymous>:2:14) 附件 : --> 2018-03-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

475. 文本-位图字体 [ 72%]

... { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...

来源: Laya2.0_示例 发布时间: 20241002

476. LayaAir项目发布Flash版本 报错 [ 72%]

LayaAir项目发布Flash版本 报错 at laya.utils::Browser$/__init__()[G:\beta\tool\as\libs\src\laya\utils\Browser.as:69] at laya.utils::Browser$/get window()[G:\beta\tool\as\libs\src\laya\utils\Browser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* {...

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

477. iOS 打包之后resource文件夹下没有cache文件, [ 71%]

...cache文件之后,运行报错JsAppCache::loadCachedURL Error, no cache data. 。。。 2,单机打包出现   网络异常,请联系开发商。 2017-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 La...

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

478. 导出素材,不拷贝未打包资源 [ 71%]

...  还有装layacmd出错!怎么都装不上去! C:\Users\itadmin3\AppData\Roaming\npm\node_modules>npm install layacmd -g npm WARN ELOOP: too many symbolic links encountered, lstat 'C:\Users\itadmin3\Ap pData\Roaming\npm\node_modules\layacmd\node_modules\@types\node' npm ERR! path C:\Users\i...

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

479. 使用layaAir3D从unity3D中导出场景模型时报错 [ 71%]

...报错 IndexOutOfRangeException: Array index is out of range. LayaExport.DataManager.saveSkinLmFile (UnityEngine.SkinnedMeshRenderer skinnedMeshRenderer, System.String savePath) LayaExport.DataManager.getSkinnedMeshRendererComponentData (UnityEngine.GameObject gameObject, .JSONObject customProps) La...

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

480. laya2.8微信云开发出现错误 [ 71%]

... VM37:1 appServ*SDKScriptError Cannot read property 'indexOf' of undefined;at api readdirSync beforeSuccess callback function TypeError: Cannot read property 'indexOf' of undefined     *ThirdScriptError removeListener only takes instances of Function;at audioContext.oncanplay callback function Err...

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