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

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

1051. Event的target和currentTarget类型错误 [ 83%]

...equest,希望改正 /** 事件目标触发对象。*/ target: laya.display.Sprite; /** 事件当前冒泡对象。*/ currentTarget: laya.display.Sprite; 2016-07-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Mo...

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

1052. 绘制的直线如何修改它的位置,使它产生连续绕一个点旋转的效果 [ 83%]

...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 把线放在sprite里操作 sprite旋转。 2018-02-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Jacket 相关问题 sprite旋转以后,但...

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

1053. 这种进度条怎么实现? [ 83%]

...18-08-17 0 0 分享 微博 QZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() thi...

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

1054. 2.0中如何移动一组静态刚体? [ 83%]

2.0中如何移动一组静态刚体? 我在一个sprite A下创建了一组静态刚体   如果A上没有刚体 移动A后子刚体不移动 但是子刚体的sprite跟着移动 子刚体发生碰撞后对应sprite回归原位   如果A上有刚体 移动A后子刚体不移动但是对应spri...

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

1055. 自定义shader-边缘光照shader [ 83%]

...ght.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../....

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

1056. 导入微信小游戏的时候 [ 83%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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

1057. 继承Scene没有onEnable [ 83%]

... onAwake():void{         console.log(1111);     } }   2.继承Sprite 执行后会有onAwake         let t = new tt();         Laya.Scene.root.addChild(t);     } } //激活启动类 new Main();  class tt extends Laya.Sprite{     constructor(){         su...

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

1058. order层次不起作用 [ 83%]

order层次不起作用 3个sprite,一个sprite做主界面A,一个sprite做弹窗界面B,一个sprite图集动画C, 当进入界面A时,打开弹窗B,想播放一个动画C, C竟然在A,B之间,无法显示在B的上层, 目前配置的层次是: A.zorder = 10 B.zorder = 1 C.zord...

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

1059. 舞台旋转问题 [ 83%]

...复过我 你给我的那个连接 也是我发的 但是有问题 我new sprite 然后 添加一个list 然后 sprite设置rotation = 180 那么你滑动list就是反向的了 你给我的连接 那个例子 角度 不是180根本发现不了问题 如果你把sprite的rotation设置成90 那么上...

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

1060. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 83%]

...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sprite3D&name=TransformDemo))代码,首先我们 **克隆** 两个猴子(克隆的知识点会在精灵Sprite3D的章节详细讲解),来看下效果,并且在克隆后为了方便观察我们2个猴子的位置。...

来源: Laya2.0_文档 发布时间: 20210715