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

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

501. 2.4.0bate在放大缩小时文本会不同程度的模糊 [ 54%]

...paused: number;         static playing: number;         constructor();     }   导致之前用到的动画状态静态常量获取不到 2019-12-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 虫虫 相关问...

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

502. 性能测试-卡通人物2 [ 54%]

...r1, character2, character3, character4]; var characters = []; var text; // Constructor (function() { Laya.init(1280, 720, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("../../res/cartoon2/background.jpg", 0, 0, 1280, 900); createCharacters(); text = new...

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

503. Uncaught TypeError: e.getStackTrace is not a function [ 54%]

...ene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2017-01-20 16:57 浏览: 1361 关注: 2 人

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

504. TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function [ 54%]

...项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor ide导出ui时,UI代码显示不正常在小游戏中会报错:gameThirdScriptErrorn.sort is not a function 问题状态 最新活动: 2020-02-03 09:52 浏览: 5265 关注: 2 人

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

505. 切换后台时,引擎如何判断是否停止定时器? [ 54%]

...个简单的测试, class TestUI extends ui.test.TestPageUI {      constructor() {         super();          this.stage.on(Laya.Event.FOCUS, this, this.onFocus);         this.stage.on(Laya.Event.BLUR, this, this.onBlur);         Laya.timer.frameLoop(1,this,thi...

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

506. 使用 addChild 加载界面后,绑定事件报错 [ 54%]

...如下: export default class GameStart extends ui.GameStartUI {     constructor() {         super();          this.btnStart.on(Laya.Event.CLICK, this, this.startGame);     }      startGame(): void {         //Laya.Scene.open("GameView.scene");         ...

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

507. 两个移动的简单物体 onTriggerEnter 无法触发 (有悬赏) [ 53%]

...er,   export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); }  /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); };  onTriggerStay(other){ console.log("onTriggerStay"); }...

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

508. Sprite-新手引导 [ 53%]

...nteractionArea, 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_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.s...

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

509. 播放视频只有声音没有图像 [ 53%]

...r = Laya.SoundManager; export default class LoginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅林茂 - 静かな古都.mp3", 0); this.login...

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

510. 其他引擎的Demo-Example_04 [ 53%]

... = this.w / 2; private slideY:number = this.h / 2; private speedInfo:Text; constructor() { Laya.init(this.w, this.h, WebGL); this.createText(); this.start(); } private start():void { for (var i:number = 0; i this.w) { this.stars[i].x = this.stars[i].x - this.w; } else if (this.stars[i].x this.h) { t...

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