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

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

661. animate 动画播放 怎么把攻击 开火 合起来播放 [ 49%]

...Ani: Laya.Animation; private timeLine:Laya.TimeLine = new Laya.TimeLine(); constructor() { //初始化舞台 Laya.init(1334, 750, Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/imgs/rol...

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

662. Sprite-根据数据绘制路径 [ 49%]

... = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...

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

663. layaMaxUI.ts的自动生成代码bug [ 49%]

...lass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSceneUI",MainSceneUI); } 期待生成SceneBase, 结果仍然生成Laya.SceneBase     其他关联链接:...

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

664. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...aya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...

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

665. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 49%]

...质。 Hierarchy Material ShurikenParticleMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE RENDERMODE_ALPHABLENDED RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHAD...

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

666. 升级到3.0-beta6无法选择资源了 [ 49%]

...    @property(Laya.Image)     public image: Laya.Image = null;      constructor() {         super();     } } 附件 : --> 2023-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 layabox 赞同来自...

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

667. Animation 使用疑问 [ 49%]

...但是CurMern么有发出变化,是否正常?   2 构造时创建   constructor() {         this.aniBody = new Animation();         this.aniBody.interval = this.frameNum;         Map.getInstance().heroSprVI.sprCon.addChild(this.aniBody);         this.aniWeapon = new Animation()...

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

668. HtmlDivElement 下划线 [ 49%]

...行间距 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? HTMLDivElement 对齐问题! 问题状态 最新活动: 2019-06-11 16:32 浏览: 3998 关注: 4 人 诶诶诶诶诶诶 • 2019-07-01 17:09 这种做法并不能便于引擎升级...

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

669. 加了两个遮罩后的动画,帧频只有10了,有demo,有项目,有源码 [ 49%]

...ask_Demo 源码 https://github.com/wildfirecod ... le.ts  class GameMain{ constructor() { Laya.init(1920,950,Laya.WebGL); Laya.Stat.show(); const container = new Laya.Sprite(); Laya.stage.addChild(container); const mask = new Laya.Sprite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0, 1483, 950, 0, ...

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

670. tiledmap有时尺寸不正确 [ 48%]

...数 private _mCompleteHandler:Handler = null; private _mTest:number = 0; constructor(){ } /** * 创建地图,并显示当前场景 * @param conf 地图的配置信息 */ public create(conf:LevelConf, handler:Handler):void{ this._mLevelConf = conf; this._mCompleteHandler = handler; this._mViewPortX...

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