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

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

121. 为什么会出现报错 ani not found:ufo1_down [ 75%]

... var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.bulletLevel = 0; ...

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

122. Laya.timer.frameLoop(1, this, onLoop); 的使用问题 [ 75%]

Laya.timer.frameLoop(1, this, onLoop); 的使用问题 使用这个方法 单独浏览器运行和微信扫二维码运行都 没问题 但是放到了小游戏 就一卡一卡一卡一卡 最后卡死了。 2018-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

123. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 75%]

...承类 var StartResource = function StartResource(){ StartResource.super(this); //LOGO 图标 访问地址 var href='https://list.tmall.com/search_product.htm?q=%BB%A8%D3%A1%D0%B6%D7%B1%CB%AE&type=p&spm=a220m.1000858.a2227oh.d100&xl=%BB%A8%D3%A1_2&from=.list.pc_1_suggest';     if(...

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

124. webgl遮罩的BUG [ 74%]

...遮罩想实现转圈进度条的效果                   this.mMask.graphics.clear();                 Laya.timer.loop(10,this,this.showMask);         public showMask():void         {             this.mMask.graphics.clear();          ...

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

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

...tOther.x, potOther.y] distanceJoint.selfAnchor = [potSelf.x, potSelf.y];  this.owner.addComponentIntance(distanceJoint);   }报错信息如下: Node:the component is singleton,can't add the second one.   翻看源码后发现有这么一段判断单例组件的限制 __proto.addComponentIntance...

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

126. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 74%]

...enDataContext({ state: 'init', openId: GlobalData.getInstance().openId }); this.rank = new Laya.Sprite(); this.box_rank.addChild(this.rank); Laya.Browser.window.sharedCanvas.width = this.box_rank.width; Laya.Browser.window.sharedCanvas.height = this.box_rank.height; //alwaysChange = true不好用了...

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

127. Texture.getPixels在手机真机Native环境中会报错 [ 74%]

...      if (window.conch) {                 return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空!             }             else {                 return this.getTexturePixels(x, y, width, height); ...

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

128. laya.d3.js报错 [ 74%]

...flags is not a function             bt.RayResultCallback_set_m_flags(this._btAllHitsRayResultCallback, flag);     附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Yan 赞同来...

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

129. 使用方向键 控制精灵在格子中移动 [ 74%]

...的微信 一起研究 13890999   事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(this.keyList[i]==e.keyCode){ th...

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

130. laya 2.0 微信小游戏排行榜提示wx.getFileSystemManager is not a function [ 74%]

...到了2.1.0beta,每个版本的laya.opendata.min.js文件里都用到了this.fs=wx.getFileSystemManager(), 所以就是所有版本都不能正确运行,都会报 wx.getFileSystemManager is not a function; 是不是laya2.0根本用不了子域项目   2019-06-18 0 7 分享 微博 QZONE 微信...

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