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

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

141. 分享:IDE报错...Configure nextgenas.java, add to $PATH, or set $JAVA_HOME [ 88%]

分享:IDE报错...Configure nextgenas.java, add to $PATH, or set $JAVA_HOME 这个是由于java的版本导致的报错,开发者可以下载下这个地址的java环境,不要使用百度进行下载! http://www.oracle.com/technetw ... .html 2017-04-18 添加评论 免费帖 --> 分享 ...

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

142. 2.3.0beta版本,代码有错误还能编译成功 [ 88%]

... ``` typescript({                 check: false, //Set to false to avoid doing any diagnostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }), ``` 改为: typescript({        ...

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

143. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 88%]

...效果! 1.addLabel方法中的第二个参数 offset 是什么意思 2.to方法中的 offset 又是什么意思,二者有什么关系呢?   demo代码如下// 程序入口 class GameMain{ constructor() { Laya.init(600,400); var sp:Laya.Sprite = new Laya.Sprite(); sp.graphics.drawRect(0,0,50...

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

144. 给以个对象绑定两个on方法为什么只能执行一次 ? [ 88%]

...    };         this.reset = function(){             Laya.Tween.to(this.obj,{scaleY:1,scaleX:1},10,Laya.Ease.backIn,Laya.Handler.create(this,this.backEdHd));         }         this.init = function(){             Laya.Tween.to(this.obj,{scaleY:1.05,scaleX:1.05},100,Laya.Ease....

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

145. tween complete 报错 以及如何判断对象正在缓动中 [ 87%]

...如何判断对象正在缓动中 代码是这样的 Laya.Tween.complete().to(men, { x : x , y : y }, menMotionTime, Laya.Ease.quadInOut, null, 0); 我想判断对象是否正在缓动,如果是则complete立即完成没有完成的动画继续当前的 附件 : --> 2017-11-22 添加评论 免费...

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

146. When asking questions, remember these two tips: [ 87%]

...: When asking questions, remember these two tips: Instead of asking “how to do X in LayaBox”, ask “how to solve Y in LayaBox”. In other words, don’t ask how to implement a particular solution, instead describe the problem at hand. Stating the problem gives more context and less bias for a ...

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

147. 组件Clip(play方法的bug) [ 87%]

组件Clip(play方法的bug) __proto.play=function(from,to){ (from===void 0)&& (from=0); (to===void 0)&& (to=-1); this._isPlaying=true; this.index=from; this._toIndex=to; this._index++;//源码这里没必要吧 2018-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

148. laya.utils.Tween_API3.0 [ 87%]

...ress Methods clear complete from pause recover restart resume setStartTime to clear clearAll from to Properties repeat repeat: number = 1 Defined in laya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update update: Handler Defined in laya/utils/Tween.ts:36 更新回...

来源: Laya3.0_api 发布时间: 20231115

149. 缓动-简单的Tween [ 87%]

...Air引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { v...

来源: Laya_示例 发布时间: 20251209

150. Laya Ide 无法调试 [ 87%]

Laya Ide 无法调试   错误: Cannot connect to runtime process,timeout after 10000ms -(reason: cannot connect to the target :connect to the target :connect Econnrefused 127.0.0.1:9222)   错误:Debug adapter process has terminated unexpectedly   layabox ide 无法调试 ,console.log 打印...

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