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

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

2401. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 50%]

...'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后就没有了,希望有大佬能够解答一下,哈哈 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

2402. Laya下的图片上传示例(完整版) [ 50%]

...eight:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position ="absolute"; // file.style.zIndex = 999; Laya.Browser.document.body.appendChild(fil...

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

2403. 使用钢体设置防穿后仍有几率会穿透 [ 50%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI...

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

2404. 关于 iframe跳转地址 [ 50%]

关于 iframe跳转地址 <!DOCTYPE html> <html> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#000000"></body> <script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145...

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

2405. RenderTarget2D的create方法 [ 50%]

...unction create(w:int, h:int, surfaceFormat:int = WebGLContext.RGBA, surfaceType:int = WebGLContext.UNSIGNED_BYTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = -1):RenderTarget2D {             var t:R...

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

2406. [LayaAir3]在pc端测试的时候流程没有问题 但是使用手机扫码模拟的时候 加载完成之后 一直白屏或者就是推到主页的加载栏 [ 50%]

...DE 是没测试就上线了吗? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接...

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

2407. LAYAIDE报错,无法正常使用 [ 50%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 请问在layaIDE里,怎么调用微信小程序API 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 用了第三方socket类 ...

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

2408. [LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 [ 50%]

[LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 使用 typescript 来开发。我在使用 prettier 来格式化代码的时候, 会出现问题,重复出现一些代码块追加到文件到末尾上。 vs code 中没有这个问题   .prettierrc { "tabWidth": 2, "singleQuote...

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

2409. 音频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.SoundNode }) public sound: Laya.SoundNode; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.sound.source...

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

2410. swf素材使用报错问题 [ 50%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 关于使用matterjs物理引擎鼠标问题 使用钢体设置防穿...

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