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

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

1061. js代码跳转页面有接口吗? [ 53%]

...法要怎么写啊?ヽ(●-`Д´-)ノ 15818760256 • 2018-01-29 15:25 if(window.conch) { window.conch.setExternalLink("http://layabox.com/";); } 这个window是指的Laya.Browser.window 吗? 15818760256 • 2018-01-29 15:32 我看了你发的那个。。貌似是打包app之后的做...

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

1062. Sprite.drawTexture出来的图片有点模糊 [ 53%]

... removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (anonymous) @ laya.core.js:15863 laya.core.js:12205 loader callback cost a long time:128 url=face/TopUI760x50.png 2017-12-19 0 0 分享 ...

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

1063. 关于多点触控e.touches问题 [ 53%]

...   var ts = e.touches;    console.log(e.stageX + ":" + e.stageY);    if(ts) {             console.log("11111111111111111111");    }    else {       console.log("33333333333333333333333");    } }     要求是 获取多个触点的坐标 然后进行一系列操作 简单说就...

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

1064. 请问Tiledmap怎么取到指定格子的属性值 [ 53%]

... y); var walkable = this.tiledMap.getTileProperties(0, a - 1, "walkable"); if (walkable === 1) { // 可行走 } 2018-08-08 0 1 分享 微博 QZONE 微信 186*****407 赞同来自: var a = this.pass_layer.getTileData(x, y); 这个坐标无论写多少返回的都是0,对象层有格子,用格子...

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

1065. 射线检测-点击行走 [ 53%]

...esh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshColli...

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

1066. 缓动 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...esume。 * @param target 缓动的目标对象。可以为空。 * @param lifecycleOwner 生命周期对象,当销毁时,缓动会自动停止。一般情况下,如果任务的目标对象有 destroyed 属性,则不需要设置此属性。如果任务的目标对象没有 destroyed 属性,...

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

1067. 微信小游戏 ReferenceError: Matter is not defined [ 53%]

...出到微信小游戏报错。 2018-05-04 0 2 分享 微博 QZONE 微信 IF.T 赞同来自: https://ask.layabox.com/question/14238 2018-05-08 0 0 分享 微博 QZONE 微信 Vongola 赞同来自: 有方法了嘛? 2018-06-13 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 小游戏引的顺...

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

1068. [LayaAir3]LayaAir3.1.4中使用Spine3.8的动画资源显示异常 [ 53%]

...EditorEnv.IImageAssetImporter): void | Promise<void> {          if (aassetImporter.settings.textureType != 2) {             aassetImporter.settings.textureType = 2;         }     } }   2024-06-21 2 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...

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

1069. 如果执行打开窗口再关闭这个窗口引擎就会报错 [ 53%]

...to._transform = function (sprite, context, x, y) {             if(sprite.destroyed){                 return;             } 2019-03-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 130*****330 相...

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

1070. 背景音乐文件太大 播放延迟 [ 53%]

...tic playBackGroundMusic(url: string, start: number) {         if (soundMsg.isPlayingBgMusic) {             let path = "remote/music/" + url + '.mp3';             Laya.SoundManager.playMusic(path, 1, new Laya.Handler(this, () => { }), start)  ...

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