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

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

451. texture可以加载一个canvas吗 [ 57%]

...,100,100); Laya.stage.addChild(sp2);   文档说好像可以 报错了。 this.bitmap.activeResource is not a function 有其他的方法将一个canvas的内容绘制到另外一个canvas吗 附件 : --> 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

452. 2.0的Rigidbody3D下面的totalForce没有实现么? [ 56%]

...么? 直接内部报了这个错误,这个不用demo吧?我用的5.1 this._nativeColliderObject.getTotalForce is not a function 2019-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: ...

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

453. fb里面怎么建laya能使用的库项目啊 [ 56%]

...译过不了,源路径里面的类会报warning:facade.registerMediator This variable is not defined. 这种错误,求一个创建库项目的方法,IDE用的是FB 2018-05-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

454. WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header [ 56%]

...ve an example here on how to encode your header based on the payload size (this is an php example) github.com/CycloneCode/WSServer/blob/master/src/WSServer.php – Cyclonecode Jul 7 '15 at 10:26 Here is another example: stackoverflow.com/questions/8125507/… – Cyclonecode Jul 7 '15 at 10...

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

455. as3版微信api发布小游戏,在小游戏编辑器报错!!!!!!!! [ 56%]

...错!!!!!!!! as3代码 编译后的code.js 报错 多了个this 小程序版本 你们都没发现这个bug吗!!!! 难道是我用错了???? 附件 : --> 2018-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

456. sprite3D.getChildAt(0).getComponentByType 报错 [ 56%]

...内容相关的链接 提交 1 个回复 如果只是偶然 赞同来自: this.zombieAnimator = (zombie.getChildAt(0) as Sprite3D).getComponentByType(Laya.Animator); 2018-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zouv 相关...

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

457. laya的摇一摇发布到微信小游戏上无效 [ 56%]

...戏上无效 Shake.instance.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE ...

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

458. graphics绘制报错 [ 56%]

...ath = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new...

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

459. UI界面发布后的layaUI.max.all.ts文件里的函数认识 [ 56%]

...constructor(){ super()}和 createChildren():void { super.createChildren(); this.createView(ui.login.HeadUI.uiView); } 是先执行constructor()再执行createChildren()吗?constructor()相当于构造函数,createChildren()是构造完成后执行的start()函数 2017-12-26 添加评论 免费...

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

460. HTMLCanvas Laya.stage.addChild(HTMLCanvas); 挂载到舞台报错 [ 56%]

...  } else {                 return RunDriver.drawToCanvas(this, _renderType, canvasWidth, canvasHeight, offsetX, offsetY);             }         }   这个两种方式,只能用这个,那个文档和源码没写清楚 2018-06-26 0 0 分享 微博 QZONE 微...

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