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

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

261. 在微信小游戏中使用BitmapFont会导致报错. [ 70%]

...  堆栈: gameThirdScriptError undefined;at api readFile success callback function console.error @ VM1782:1 errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 u @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.html:1 (anonymous) @ WAGame.js:3 (a...

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

262. Native 如何使用ttf? [ 70%]

...= 'arraybuffer'; xhr.open('GET', "res/font/Arial.ttf", true); xhr.onload = function () { Laya.Browser.window.conch.setFontFaceFromBuffer("Arial", xhr.response); setInterval(onDrawFrame, 15); }; xhr.onerror = function (e) { alert('>>>download ttf error :' + e); }; xhr.send(null); //这里以...

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

263. WaterPrimaryMaterial的使用 [ 70%]

...     Laya.Texture2D.load("res/water1.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { // material.albedoTexture = tex; material.mainTexture = tex; })); Laya.Texture2D.load("res/FoamTexture.jpg", Laya.Handler.create(null, function(tex:Laya.Texture2D) { // material.albedoTexture = t...

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

264. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 70%]

...e/cocos/./scripting/js-bindings/jswrapper/v8/Object.cpp, 628): Invoking function (0x794f5fe1c0) failed! 附件 : --> 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 西西de弗斯 赞同来自: 兄...

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

265. 3D文本纹理demo问题 [ 70%]

...维码真机调试也是如此。  TypeError: this.cxt.fillText is not a function             this.cxt.fillText(text, this.cav.width / 2, this.cav.height);                      ^^                                                    TypeError: this.cxt.fillT...

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

266. 微信头像请求方式 [ 70%]

...取器 * @param {头像Url} headUrl * @param {显示头像Img} showImg */ function getWXHead(headUrl, showImg){ if(headCache[headUrl] != undefined){ showImg.skin = (headCache[headUrl]); }else{ // 创建请求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data...

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

267. 使用Laya2.0做微信开放数据域是出错。 [ 70%]

... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:673) at Function.MiniAdpter.init (laya.wxmini.js:91) at Function.MiniAdpter.enable (laya.wxmini.js:77) at Function.Browser.__init__ (laya.core.js:4125) at Object.Laya.init...

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

268. laya.utils.Tween_API3.0 [ 70%]

... Returns void from from(target: any, props: any, duration: number, ease?: Function | null, complete?: Handler | null, delay?: number, coverBefore?: boolean): Tween Defined in laya/utils/Tween.ts:100 从props属性,缓动到当前状态。 Parameters target: any 目标对象(即将更改属性值...

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

269. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 70%]

...示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conne...

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

270. app构建后在真机中运行报错 [ 70%]

...码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){     function Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.prototype;     /**     *通...

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