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

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

2011. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 32%]

...8] Using gulpfile D:\Users\Administrator\Personal\myLaya2.2\Client\.laya\compile.js [16:39:18] Starting 'tsc'... [16:39:18] Starting 'CopyNoneTSFile'... [16:39:18] Finished 'CopyNoneTSFile' after 169 ms error { Error: Command failed: D:\laya\2.2.0\resources\app\node_modules\.bin\tsc.cmd -b "D:\Users...

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

2012. laya.device.media.Video_API3.0 [ 31%]

...inBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidt...

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

2013. laya.device.media.HtmlVideo_API3.0 [ 30%]

...arameters url: string 播放源路径 extension: number 播放源类型(1: MP4, 2: OGG) Returns void Static create create(): HtmlVideo Defined in laya/device/media/HtmlVideo.ts:26 创建一个 HtmlVideo 实例 Returns HtmlVideo Static destroyUnusedResources destroyUnusedResources(): void Inherited f...

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

2014. IDE出现一些系统代码错误无法解决 [ 30%]

...ang.String cannot be cast to java.lang.Integer     at org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_lookup_switchStmt(ABCGeneratingReducer.java:5737)     at org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_switchStmt(ABCGeneratingReducer.java:...

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

2015. 动画不显示 [ 27%]

...没法加入附件。我把全部源码贴出来吧   package {     import laya.utils.Handler;     import laya.display.Text;     import laya.display.Animation;     import laya.webgl.WebGL;     import laya.media.Sound;     import laya.webgl.shapes.Ellipse;     import laya.displa...

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

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

...urces already exist,is repeated loading: https://piggy.q1.comres/sound/BGM.mp3 console.warn @ VM1768:1 Loader.cacheRes @ code.js:12995 SoundManager.playSound @ code.js:4963 SoundManager.playMusic @ code.js:4988 GameEx.onLoaded @ code.js:57359 GameEx.onLoaded2 @ code.js:57325 __proto.runWith @ code.j...

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

2017. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

.../music/test/FY-0079.wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType {     BGM,     Effect,     Dialogue, } export...

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

2018. laya.media.VideoTexture_API3.0 [ 19%]

...t lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture destroyed dimension duration ended error filterMode format frameRender gammaCorrection gammaSpace gpuMemory height id loop maxMipmapLevel mipmap mipmapCount muted obso...

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

2019. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 15%]

...。这里用AS语言来创建项目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' ...

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

2020. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...//plyr.io/,http://video-dev.github.io/hls.js/demo/,http://codepen.io/sampotts/pen/JKEMqB。 下面我们就以Plyr + hls.js来为例子,看看在LayaAir中我们应该怎么写。 在index.html文件中加入如下代码: <link rel="stylesheet" href="https://cdn.plyr.io/1.8.2/plyr.css"&gt...

来源: Laya3.0_文档 发布时间: 20251010