大约有 925 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(652) Laya3.0_api(91) Laya2.0_api(74) laya_api(54) Laya2.0_文档(36) Laya3.0_文档(14) Laya2.0_示例(2) Laya_示例(2)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...然要跳 就得有交互了 所以我们需要添加点击事件 当点击舞台的时候 出发player.jump(); 同样还是在RunGame.js里面 (function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; RunGame.__super.call(this); this.init()...
来源: Laya_社区 发布时间: 20160801
...到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将bg添加到舞台 Laya.stage.addChild(bg); 我们再次刷新页面看看有什么效果 嗯 看来图片出来了~~~不错 现在我们可以开始继续了 //======================= 美丽的分割线 ======================= ...
来源: Laya_社区 发布时间: 20160722
...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...
来源: Laya_社区 发布时间: 20160803
... 找不到类的定义!这是为什么? 已上传 Demo 附件 加载到舞台的3D模型不显示贴图 TextInput重写onFocus和onBlur事件监听不到 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 请问下加载TFF字体要怎么加载呢? laya2.0加载3d场景报错Unc...
来源: Laya_社区 发布时间: 20180531