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

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

451. Uncaught TypeError: Cannot read property '_tf' of null [ 79%]

... read property '_tf' of null 一直在报这样一个错误 附件 : --> 2016-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 nieyiwei 赞同来自: private var _guideImage:Image;   public function main():vo...

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

452. timeline播放完成Bug [ 79%]

...aleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.g...

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

453. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 79%]

...; bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething(); } move() { sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画曲线 if(x<100){ x++; } sp.graphics.clear(); sp.graphics.drawCurves(10, 58, [x, 0, 19, -100, 39, 0], "#ff0000", 3); }...

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

454. laya.ani.swf.MovieClip_API3.0 [ 79%]

... _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited...

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

455. laya.ui.Panel_API3.0 [ 79%]

...el(): Panel Overrides UIComponent.constructor Defined in laya/ui/Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node...

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

456. laya.particle.Particle2D_API3.0 [ 79%]

... _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited...

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

457. 设置skew属性后,sprite的位置会发生改变吗 [ 79%]

...,那么该如何计算实际位置与获取的位置之间的偏差呢 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: skew是斜切,它的位置信息不回改变,只是形...

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

458. laya.device.media.Video_API3.0 [ 79%]

... _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string ...

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

459. 陀螺仪与加速计 · LayaAir3.0文档 · LAYABOX [ 79%]

laya.device.motion详解:陀螺仪与加速计1、陀螺仪2、加速计2.1 获取设备物理方向运动信息2.2 获取设备显示方向运动信息laya.device.motion详解:陀螺仪与加速计 laya.device.motion中共有四个类供开发者使用,分别为加速信息AccelerationInfo...

来源: Laya3.0_文档 发布时间: 20230303

460. 问个关于die的问题 [ 79%]

...画三的开始的状态如果对接上动画二的最终状态呢?   2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 用TimeLine的方式即可 var sp:Sprite=new Sprite(); sp...

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