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

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

1. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 100%]

...的protobuf,微信跑不起来啊: protobuf.js中的这句: return Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property '...

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

2. mac 开放域 发布失败 [ 98%]

...,请把此信息截图给研发商 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is co...

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

3. socket 注册message出错 [ 97%]

...                 Browser._window.addEventListener('message',function(e){                                 ^ TypeError: Browser._window.addEventListener is not a function     at Function.Browser.__init__ (D:\workspace\LayaAir\6\bin\h5\LayaSample.max.js:...

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

4. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 96%]

...测试地址:http://layaair.ldc.layabox.com ... xture  测试代码: (function() { var Skeleton = Laya.Skeleton; var Templet  = Laya.Templet; var Event    = Laya.Event; var Browser  = Laya.Browser; var Stat     = Laya.Stat; var WebGL    = Laya.WebGL; var Pool     = Laya.Pool;   var...

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

5. 屏幕截屏问题 [ 94%]

屏幕截屏问题 Offline.prototype.setSave=function(){ if( window.conch ) { window.conch.captureScreen(function(arrayBuff,width,height){ window.image = window.document.createElement("img"); window.image.putImageData(arrayBuff,width,height); }) } }     E/LayaBox: >>>>>>>>...

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

6. 文本-位图字体 [ 94%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var BitmapFont = Laya.BitmapFont; var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var fontName = "diyFont"; (function() { // 不支持...

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

7. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 92%]

...ontexts provided (6) is greater than or equal to the maximum bound (6). at Function.<anonymous> (<anonymous>:10787:310) at Function.get (<anonymous>:168:66) at Function.WebAudioSound.initWebAudio (<anonymous>:10773:21) at Function.Browser.__init__ (<anonymous>:6184:57) ...

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

8. 关于微信小游戏渲染子域图的问题 [ 91%]

...); 上面这句报错: gameThirdScriptError value._addReference is not a function TypeError: value._addReference is not a function     at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:15188:19)     at Texture.__proto.setTo (http://127.0.0.1:10656/game/js/bundle.js:15065:1...

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

9. 微信小游戏,请先初始化小游戏适配库 [ 91%]

...@ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21)     at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:11)     at ht...

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

10. 文本-位图字体 [ 90%]

...ic class Text_BitmapFont { private var fontName:String = "diyFont"; public function Text_BitmapFont() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sc...

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