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

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

2401. 关于 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

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

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

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

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

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

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

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

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

2406. 音频节点 · LayaAir3.3 · 引擎文档 · 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

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

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

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

2408. list 数据不会及时渲染 [ 50%]

...(index);             if(cell){                 if(evt.type == Event.CLICK){                      //            refreshCard(0,MyHomeModel.intance.tempArr1); //            cardList.refresh(); //            cardList.callLater(refreshCard[0,MyHo...

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

2409. TS 如何调用第三方JS库 [ 50%]

...回复 SONIC3D 赞同来自: cuixueying 去 https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/zip.js 下载zip.js的ts定义头zip.js.d.ts,配合zip.js使用   2016-09-24 1 2 分享 微博 QZONE 微信 cuixueying 赞同来自:   TS下调用第三方JS类库,同原生使用方法...

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

2410. Animation创建动画模板问题 [ 50%]

...Laya.Animation.createFrames([{ url: "res/atlas/actor/character/idle.json", type: Laya.Loader.ATLAS }], ActionType.MOVE_STAND);   异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:4418:12) at Funct...

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