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

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

31. Sprite-新手引导 [ 65%]

...0, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.alignV = Stage.ALIGN_M...

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

32. 动画混合问题,Avatar动画混合报错. [ 65%]

... walk = 'walk', //走路 power = 'power',//举高高 fire = 'fire',//扔 hit = 'hit',//被举起 biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 }  export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5;  public sprite:Laya.Sprite3D = null;  ...

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

33. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 65%]

...nation-out"; this.guideContainer.addChild(this.interactionArea); this.guideHitArea = new Laya.HitArea(); this.guideHitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); this.guideContainer.hitArea = this.guideHitArea; this.guideContainer.mouseEnabled = true; this.tipContainer =...

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

34. 版本号:2.0.2 beta, 在sound文件夹下音乐播放不了,放入到res文件夹下可播放 [ 64%]

...e: net::ERR_FILE_NOT_FOUND [file:///F:/GitHub/TS_Laya/TS_MyLaya/bin/sounds/hit.wav]   测试代码:   import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler...

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

35. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 63%]

...n area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The hit area takes precedence over width and height of node as the non-penetrable mouse collision area. * Note that for UI object nodes with a set skin property, once a skin texture resource is...

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

36. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 62%]

龙骨动画-拖拽-点击区域HitArea设置问题 问题:   通过 rectangle = skeleton.getBounds() 获取动画所在的矩阵,然后设置skeleton的 hitArea为(-width, -height, width, height). 但是只有点击动画的右下角才能拖拽。期望:   龙骨动画的任意位置...

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

37. 动画本身如何使用滤镜 [ 61%]

...法正常作用问题-解决办法 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2017-09-08 16:40 浏览: 745 关注: 2 人

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

38. 华为快游戏 [ 61%]

...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2021-01-04 15:20 浏览: 79 关注: 1 人

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

39. 华为快游戏 [ 61%]

...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2021-01-04 15:18 浏览: 266 关注: 1 人

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

40. 华为快游戏 [ 61%]

...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2020-12-28 10:12 浏览: 263 关注: 2 人

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