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

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

1. 缓动-时间线 [ 100%]

...= Laya.Keyboard; var TimeLine = Laya.TimeLine; var WebGL = Laya.WebGL; var target; var timeLine = new TimeLine(); (function () { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode ...

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

2. 缓动-时间线 [ 99%]

...OWN, this, this.keyDown); } createApe() { const Sprite = Laya.Sprite; this.target = new Sprite(); Laya.stage.addChild(this.target); this.target.loadImage("res/apes/monkey2.png"); this.target.pivot(55, 72); this.target.pos(100,100); } createTimerLine() { const TimeLine = Laya.TimeLine, Event = Laya.E...

来源: Laya2.0_示例 发布时间: 20241001

3. Got a response from the target app, but no target pages found [ 98%]

Got a response from the target app, but no target pages found 使用IDE1.7.16beta,新建一个项目,点击运行,就出现了下图显示的错误 附件 : --> 2018-03-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

4. Event类中的target属性IDE返回值为什么和文档不一样 [ 97%]

Event类中的target属性IDE返回值为什么和文档不一样 文档上写着Event是     target : Sprite     事件目标触发对象。 IDE中     Event.target: EventTarget 是我哪弄错了吗? 2017-10-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

5. MovieClip的target和currentTarget属性为undefined? [ 96%]

MovieClip的target和currentTarget属性为undefined? private function showNowPic():void{ for each(var ul:String in pics){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); t...

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

6. Laya 2.2.0 只支持编译 target 为 es6的相关问题 [ 96%]

Laya 2.2.0 只支持编译 target 为 es6的相关问题 引擎版本: Laya 2.2.0 语言: typescript 构建方式: {     "compilerOptions": {         "module": "es2015",         "lib": [             "es2015",             "es6",          ...

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

7. Event的target和currentTarget类型错误 [ 96%]

Event的target和currentTarget类型错误 使用版本:1.0正式版, 语言:ts Event的的target和currentTarget类型有错误,并不是所有EventDispatcher都是显示对象,比如访问网络的HttpRequest,希望改正 /** 事件目标触发对象。*/ target: laya.display.Sprite; /*...

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

8. 一个LayaAir moveout target 设计上的疑问? [ 95%]

一个LayaAir moveout target 设计上的疑问? Laya.init(600, 600); Laya.stage.bgColor = "white"; var sp = ; //10x10个黑色方块,鼠标移动过去时变红,鼠标移走恢复 for (var i = 0; i < 10; i++) {     for (var j = 0; j < 10; j++) {         sp[j + i * 10] = new Laya....

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

9. laya.utils.TimeLine [ 95%]

...ype:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Num...

来源: Laya2.0_api 发布时间: 20190513

10. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 95%]

...ask; } private static _layerMap = {'ui':5} public static assignCullingMask(target){ let layerNodeName = ''; let prefix = 'culling_mask='; for(let i = 0; i < target.numChildren; ++i){ let child = target.getChildAt(i); if(child.name.indexOf(prefix) == 0){ layerNodeName = child.name.replace(prefix,'...

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