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

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

451. bug,ChainCollider.points第二次设置,会报错! [ 48%]

...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_社区 发布时间: 20181130

452. 在线急等,发现你们这个编译器一个bug,不能实现负负得正,昨天明明解决了,过了一会又不行了,怎么回事 [ 48%]

...11-08 0 0 分享 微博 QZONE 微信 l13273866189 赞同来自: // 下落 _proto_.moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this....

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

453. 微信小游戏 code.js 报错 Cannot read property 'apply' of undefined [ 47%]

... 16:34 浏览: 1110 关注: 2 人 醒醒 • 2018-08-15 17:28 laya集成的protobuf版本太高导致的,那个版本集成的是5.x 的proto? hw520ok • 2018-10-18 15:55 那哪个版本的protobuf可以用?

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

454. png使用base64显示异常 [ 47%]

...有问题的,我是修改了你的代码后,现在显示正常了。 __proto.parseImgForBuffer = function(url,data){ var _this = this; var image; var onload = function () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _th...

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

455. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 47%]

...   1 在laya.wxmini.js的MiniSound类中,增加函数           __proto.resetPlay=function(){ this._sound.stop(); this._sound.volume = 1; this._sound.offPlay(); }          2 在MiniSound类的onDownLoadCallBack函数中,this._sound.onError(MiniSound.bindToThis(this.onError,this));  ...

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

456. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 47%]

...码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

457. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 47%]

...机制导致更换声音文件失败 在wxmini中关于声音的管理 __proto.load = function (url) {             url = URL.formatURL(url);             this.url = url;             this.readyUrl = url;             if (MiniSound._audioCache[this.readyUr...

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

458. 自定义UI导致编辑器无显示 [ 47%]

...s.skin=url; } __class(LabelAtlas,'laya.customUI.LabelAtlas',_super); var __proto=LabelAtlas.prototype; return LabelAtlas; })(Clip) xml如下: <?xml version="1.0" encoding="utf-8"?> <uiComp> <!-- drag:0-不能拖动,1-水平,2-垂直,3-全部 --> <Labe...

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

459. 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 [ 47%]

...致Templet删不掉     /**     *释放纹理     */     __proto.destroy=function(){         this._isDestroyed=true;         var tTexture;         var $each_tTexture;         /*for each*/for($each_tTexture in this.subTextureDic){            ...

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

460. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 view 都会增加一个 drawcall 吗 ☆☆☆☆☆☆☆☆☆☆☆ [ 47%]

...5 因为绘制文字就是会增加drawcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){

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