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

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

31. 小游戏合并JS后的问题 [ 65%]

...equire("./matter.js");之后 又出现个 TypeError: window.focus is not a function 2018-05-11 0 0 分享 微博 QZONE 微信 吉日-jerry 赞同来自: @layabox 请问测试了么?有好的解决方案么? 2018-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...

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

32. 我说.... 我只是看看matter.js的刚体转不转... 然后... [ 64%]

...体转不转... 然后... Uncaught TypeError: primitive.beginFill is not a function   PS: 今日客服的姐姐貌似生理期... 让我自己调原生的matter.... 敢问调好了原生你的东西就一定能过吗? 好吧 既然这样我就联调咯... 然后就报错咯.... 反正这种我问...

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

33. 1.0 骨骼drawcall优化猥琐方法 [ 64%]

...这样的,先贴一下SkinMesh里相关方法:         public function render(context:*, x:Number, y:Number):void {             if (Render.isWebGL && mTexture) {                 context._renderKey = 0;                 context._shader2D....

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

34. layaAir2.0动效模板报错Uncaught Can not find class ui.aniTemplates.bigToSmallUI [ 64%]

... btCollisionObject undefined 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-02-20 16:50 浏览: 3718 关注: 10 人 Ex木 • 2019-02-24 20:32 我也遇到相同的问题了,试了好几种方法都不行,我暂时挂起吧 cwugs • 2019-03-19 14:17 这...

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

35. Tween 缓动过程有触发回调函数么 [ 62%]

...动回收到对象池。 * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween", Tween)._create...

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

36. zip更新模式缓存是怎么读取的?? [ 62%]

...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...

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

37. ios safari横屏下,鼠标点击不正确,且旋转屏幕时显示错位 [ 61%]

...后的laya.core.js,先定位到21176行window.addEventListener("resize",function(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["inputElement"].target.focus=fals...

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

38. 分享:关于自定义场景继承的实现 [ 60%]

...from "../script/base/BaseScene"; import BaseScene=base.BaseScene; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class CustomSceneUI extends BaseScene { public txt_hello:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Custo...

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

39. 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' [ 59%]

...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 本地调试加载本地图片都报错 小游戏项目 加载有中文的json文件 报错 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plug...

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

40. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 58%]

..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...

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