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

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

471. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 45%]

... one.   翻看源码后发现有这么一段判断单例组件的限制 __proto.addComponentIntance=function(comp){         if (comp.owner)             throw "Node:the component has belong to other node.";         if (comp.isSingleton && this.getComponent((comp)....

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

472. oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; [ 45%]

...Bitmap、ImageData, *设置之后纹理宽高可能会发生变化。 */ __proto.loadImageSource=function(source,premultiplyAlpha){ (premultiplyAlpha===void 0)&& (premultiplyAlpha=false); var width=source.width; var height=source.height; this._width=width; this._height=height; this._setWarpM...

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

473. 内存释放问题 [ 45%]

....json", type: Laya.Loader.ATLAS }, { url: resourcesCenter.ResourcesPathStr.PROTO_FILE_PATH, type: Laya.Loader.TEXT } // 协议文件 ]; Laya.loader.load(uiResArray, Laya.Handler.create(this, onCompleted), Laya.Handler.create(this, ProgressPanel.showGameLoadingProgressPanel, null, false)); } /** * ...

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

474. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 44%]

...list、ttf、fnt、gz、ccz、m4a、mp4、bmp、atlas、swf、ani、part、proto、bin、sk、mipmaps、txt、zip、tt、map、ogg、silk、dbbin、dbmv、etc、lmat、lm、ls、lh、lani、lav、lsani、ltc。 #### 2、为什么游戏在一些机型上边缘有锯齿? 在微信7.0.3之前的版...

来源: Laya2.0_文档 发布时间: 20210715

475. layabox加载fairygui发布的二进制文件报错 [ 44%]

...Laya.Handler.create(this, this.onLoaded));   Laya.core.js   调试log __proto._endLoad=function(resInfo,content){ var url=resInfo.url; //输出//////////////////////////////// console.log("url:"+url); content==null?console.log("content null"):console.log("content not null"); //输出/////////////...

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

476. 2.0版本 ios浏览器旋转,会导致适配出现问题,无法旋转回来 [ 43%]

...出的事件处理 windowInnerWidth=true; });   // alert(4); } // var __proto=yfqian.prototype; // __class(yfqian,'yfqian_script'); yfqian.getUrl=function(name){ var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i"); if (reg.test(location.href)) return unescape(RegExp.$2.rep...

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

477. 【解决】富文本html下划线换行bug [ 43%]

...装备道具等需求。   修改2.0版本 laya.html.js库里的代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color...

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

478. 添加或修改物理ChainCollider属性points时,报错 [ 43%]

...lop/LayaProgram/test3d/bin/libs/laya.physics.js:348:98) at ChainCollider.__proto._setShape (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:3285:63) at ChainCollider.<anonymous> (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:3311:24) at GameControl.onStageClick ...

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

479. IDE2.7.1打开项目报错、社区手机号登陆一直刷新页面 [ 43%]

...Error: Cannot read property 'addChild' of null     at IFrameRenderItem.__proto.show (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:26665:27)   二、社区手机号不能登陆 日志在附件“bug.rar”里,清了缓存用微信扫一扫倒是可以登 部分日...

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

480. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 42%]

...赋值成功了的。 我现在临时的做法是修改你们的源码 __proto.layout=function(){ if (!this.style)return; this.style._type |=/*laya.display.css.CSSStyle.ADDLAYOUTED*/0x200; var tArray=Layout.layout(this); if (tArray){ if (!this._$P.mHtmlBounds)this._set$P("mHtmlBounds",new ...

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