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

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

731. 【分享】圆形进度条上图片跟随进度并旋转角度 [ 51%]

...nd(x0 + r * Math.cos(hudu)); let y1 = Math.round(y0 + r * Math.sin(hudu)); console.log("Point :x=", x1, "y=", y1,"hudu=",a); return { x: x1, y: y1, hudu: a }; }   2019-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...

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

732. Laya2.2问题,有没有遇到的? [ 51%]

... = true; this.onConfigLoaded(); } onVersionLoaded() { } onConfigLoaded() { console.log(123131313213); } } new Main();  }());   错误信息: Uncaught TypeError: window.wx.getFileSystemManager is not a function     at window.wxMiniGame (laya.wxmini.js:271)     at Function.__init__ (laya.core....

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

733. 如何使用graphics绘画虚线 [ 51%]

...,Handler.create(this,()=>{ sp.graphics.getBoundPoints().forEach(e=>{ console.log("_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);

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

734. 版本管理swf找同名的Json文件发现找不到 [ 51%]

...       return;             }             // console.log("this['_atlasPath']---->",this['_atlasPath']);             var atls_ary:Array<any> = Loader.getAtlas(this['_atlasPath']);             this.basePath=atls_ary['dir'];        ...

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

735. 粒子会不会有内存泄漏? [ 51%]

...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...

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

736. 关于闭包的问题 [ 51%]

...2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]); }; })(z)); } 控制台结果: z:0;para:0;letterList[para]:A z:1...

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

737. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 50%]

...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...

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

738. UNITY导出的模型旋转不了 [ 50%]

...新 this.obj.transform.rotate(this.rotation, false, false) } onDisable() { console.log("组件设置为不可用"); } } 2020-06-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 GameMonkey 相关问题 sprite旋...

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

739. 如何获取unity导出的摄像机 [ 50%]

...a = land.getChildByName("Camera"); camera.addComponent(CMS);//控制脚本 console.log(camera); }         2019-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 苏栢 相关问题 unity导出粒子文件问题 请问有没有方...

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

740. 绘制形状时事件不触发 [ 50%]

...(x, y, r1, color1, color1, 0);     function on_down(event) {         console.log("_____ kbRing2\n");     } } function laya_test() {     Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL);     var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729");     La...

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