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

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

921. laya.ui.TextArea_API3.0 [ 36%]

... 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

922. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 36%]

...然要跳 就得有交互了 所以我们需要添加点击事件 当点击舞台的时候 出发player.jump(); 同样还是在RunGame.js里面  (function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; RunGame.__super.call(this); this.init()...

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

923. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 36%]

...到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将bg添加到舞台 Laya.stage.addChild(bg);  我们再次刷新页面看看有什么效果   嗯 看来图片出来了~~~不错 现在我们可以开始继续了   //=======================  美丽的分割线 ======================= ...

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

924. 【简单跑酷--JS版】---Lv.6 终篇 [ 31%]

...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

925. Laya.URL.basePath加载不到网络资源 [ 24%]

... 找不到类的定义!这是为什么? 已上传 Demo 附件 加载到舞台的3D模型不显示贴图 TextInput重写onFocus和onBlur事件监听不到 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 请问下加载TFF字体要怎么加载呢? laya2.0加载3d场景报错Unc...

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