大约有 781 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0051 秒)
请问如何在Laya中调用微信小游戏game.js中自定义函数? 如题,我在微信小游戏game.js中声明的函数或变量,在Laya中都无法直接使用__JS__("函数名")来引用,都报错找不到函数,请问正确的引用方式是? 2020-02-27 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20200227
...f undefined at TiledMap.__proto.mergePath (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:178:32) at TiledMap.__proto.onJsonComplete (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:165:20) at EventHandler.__proto.runWith (file:///E:/EarlyChildhood/EARLY_GAME_0...
来源: Laya_社区 发布时间: 20170124
...败,但是底层还是会创建3D对象, 底层一定会报错 {"message":"gameThirdScriptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined at t.<anonymous> (https://usr/game.js:4...
来源: Laya_社区 发布时间: 20190510
__class is not defined WAGame.js:3 gameThirdScriptError __class is not defined ReferenceError: __class is not defined at http://127.0.0.1:56728/game/code.js:53274:3 at http://127.0.0.1:56728/game/code.js:53276:4 at require (http://127.0.0.1:56728/game/__ ... :13675) at http://127.0.0.1:56728/game/_...
来源: Laya_社区 发布时间: 20180506
...36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (http://127.0.0.1:37684/game/code....
来源: Laya_社区 发布时间: 20180524
...置、js代码,js分包代码。项目框架内加载资源没问题。 game.json、game.js都是经过自义定修改的,所以都在bin里存了一份。发布会生成一份默认的game.json、game.js。 默认的生成的game.json、game.js都是不对的,但是自定义文件,微信是...
来源: Laya_社区 发布时间: 20180908
...; 但发布到微信小游戏时,启动报错,请问是什么问题: gameThirdScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was ...
来源: Laya_社区 发布时间: 20180307
laya编译无报错,微信开发者工具报错 VM185:1 gameThirdScriptError Maximum call stack size exceeded RangeError: Maximum call stack size exceeded at loadProgress (http://127.0.0.1:24481/game/li ... 224:34) at Handler.runWith (http://127.0.0.1:24481/game/li ... 850:38) a...
来源: Laya_社区 发布时间: 20191101
...error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js:7056 GameEx @ code.js:56322 (anonymous) @ code.js:56681 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:3 (anonymous) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus ...
来源: Laya_社区 发布时间: 20180426
Opp rpk一启动就黑屏 ./libs/laya.quickgamemini.js is not in app package 05-31 15:57:02.604 17874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57...
来源: Laya_社区 发布时间: 20190531