大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)
Laya_社区(1586) Laya2.0_文档(137) Laya3.0_api(100) Laya3.0_文档(84) Laya2.0_api(77) laya_api(61) Laya_示例(34) Laya2.0_示例(31)
...tion (exports, Laya) { 'use strict'; const TiledMapFlipConst = 1073741824; const TiledMapFlipConstHalf = TiledMapFlipConst / 2; class GridSprite extends Laya.Sprite { constructor() { super(...arguments); this.relativeX = 0; ...
来源: Laya_社区 发布时间: 20220627
...杰,先介绍下自己 我是游戏开发前端程序,6年开发经验 2014-2018年从事U3D开发 2018年至今从事小游戏开发(LAYA引擎) 在小游戏领域单品注册用户超过600万的有4款 参与过的作品: 《怪物逃X》《空中飞X》《水枪奇X》 《滑板冲冲X》...
来源: Laya_社区 发布时间: 20200803
...Stat.show(); this.setup(); } setup() { const Event = Laya.Event; var gap = 10; //创建一个Sprite充当音效播放按钮 let soundButton = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.heig...
来源: Laya2.0_示例 发布时间: 20260303
...aya.stage.bgColor = "#232628"; setup(); })(); function setup() { var gap = 10; //创建一个Sprite充当音效播放按钮 var soundButton = createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.height) /...
来源: Laya_示例 发布时间: 20260303
...tor4 cloneTo(destObject:*):void 克隆。 ConchVector4 distance(value1:ConchVector4, value2:ConchVector4):Number[static] 两个四维向量距离。 ConchVector4 distanceSquared(value1:ConchVector4, value2:ConchVector4):Number[static] 两个四维向量距离的平方。 ConchVector4 dot...
来源: Laya2.0_api 发布时间: 20190513
... Vector4 cloneTo(destObject:*):void 克隆。 Vector4 distance(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离。 Vector4 distanceSquared(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离的平方。 Vector4 dot(a:Vector4, b:Vector4):Number[s...
来源: Laya2.0_api 发布时间: 20190513
tween缓动时能不能实时得出当前的位置 比如让x=0的走到x=100,当x=1时打印出来,x=2时也打印出来,一直打到100,可以这么做吗,要怎么做 2017-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20171226
...顶点为准?在处理skeleton移动时 边界检测无法准确判断 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Kelvin 赞同来自: 效果如下, 伪代码: realX=摇杆X轴移动方向*...
来源: Laya_社区 发布时间: 20180725
...用WEBGL2,我们也在向抖音团队在反馈该问题。 2025-07-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 devx 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然无...
来源: Laya_社区 发布时间: 20250722
...e.addChild(foodBox); self.foodBox = fooddata; console.log(self.foodBox); 2018-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 X. 赞同来自: 数据打印出来都有的,就是页面不更新,求大神...
来源: Laya_社区 发布时间: 20181221