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

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

31. 请问老师为什么我按照官网的实例播放音频没反应呢? [ 50%]

...ct(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; } function onPlayMusic(e) { console.log("播放音乐"); SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } funct...

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

32. 如何实现聊天图文混排的聊天 气泡背景效果? [ 49%]

...gt;         <span style="display:block;padding:20px; font-family:'SimHei'; font-size:30px; ">是飞洒地是飞洒地是飞洒地是飞洒地是飞洒地是飞洒地是飞洒地是飞洒地是飞洒地<img style= "height:45px; width:45px;" src="Face/image_touxiang.png ">说法是...

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

33. sound manager在MOUSE_OVER事件中无法播放 [ 48%]

...          button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center");             Laya.stage.addChild(button);             return button;         }          private onPlayMusic(e: Event): void {            ...

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

34. 分享:销毁龙骨动画! [ 47%]

...t(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2 , 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; } private function parseComplete(fac:Templet):void { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(0); mArmature.x = 400;...

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

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

...ct(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; }  //private musicString:string = "./sounds/心跳的证明.mp3"; private musicString:string = "./res/心跳的证明.mp3"; private soundString:strin...

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

36. UI-RefreshList [ 16%]

...,省略10字……"; this.addChild(this.LmsgText); this.LmsgText.font = "SimHei"; this.LmsgText.fontSize = 18; this.LmsgText.color = "#322f2f"; this.LmsgText.pos(88, 56); this.LmsgText.width = 307; this.LmsgText.height = 20; // 列表item操作一 this.flag = new Box(); this.flag.name = "flag"; th...

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