大约有 1,584 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
...1 10:39 @Laya_Aaron:ascii编码? private var assetArr:Array=[{url: "res/atlas/comp.atlas"}, {url: "res/atlas/wxlocal.atlas"}, {url: "res/atlas/middleMoive.atlas"}, {url: "res/atlas/resoutel.atlas"}, {url: "res/atlas/texiaolanse.atlas"}]; 我直接l...
来源: Laya_社区 发布时间: 20180608
... Sprite(); ape.pos(100,50); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); } } } new laya.Sprite_DisplayImage(); ``` 在示例代码里,“`100,50`”是图片的显示坐标信息。示例代码运行效果如图2-1所示:  (图2-1) ### 1.3 用loadI...
来源: Laya2.0_文档 发布时间: 20210715
...ateApes(); } createApes() { const Sprite = Laya.Sprite; let monkey2Path = "res/apes/monkey2.png"; let gap = 150; this.ape1 = new Sprite(); Laya.stage.addChild(this.ape1); this.ape1.loadImage(monkey2Path); // 设置轴心点为中心 this.ape1.pivot(55, 72); this.ape1.pos(Laya.stage.width / 2 - gap, ...
来源: Laya2.0_示例 发布时间: 20251130
...s Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXTURE_PATH: string = "res/swf/star.png"; constructor() { // Laya.init(800, 600...
来源: Laya_社区 发布时间: 20180203
...相关的链接 提交 1 个回复 纪龙 赞同来自: Laya.loader.load("res/sounds/light.mp3", Laya.Handler.create(this, ()=>{ console.log("load light.mp3"); Laya.SoundManager.playMusic("res/sounds/light.mp3"); ...
来源: Laya_社区 发布时间: 20180814
... 'content-type': 'application/x-www-form-urlencoded' }, success: function (res) { console.log('IP地址: ' + res.data.ip); Test222.IP = res.data.ip; } }); 2020-01-06 1 0 分享 微博 QZONE 微信 1560942887用户 赞同来自: 解决了 2020-01-06 0 0 分享 微博 QZONE 微信 为什么被折叠? ...
来源: Laya_社区 发布时间: 20200106
...ItemNode from "../prefabs/goldItemNode"; var sp = Laya.Loader.getRes("res/res3D/prefabsModel/hanbao.lh"); goldNode = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5...
来源: Laya_社区 发布时间: 20200326
...e = new Sprite(); //加载显示图片,坐标位于100,50 img.loadImage("res/img/monkey1.png"); //添加到舞台 Laya.stage.addChild(img); } } } ``` 在示例代码里,“`100,50`”是图片的显示坐标信息。示例代码运行效果如图2-1所示:  (图2-1) ### 1...
来源: Laya2.0_文档 发布时间: 20210715
...行) */ wx.getUserCloudStorage({ keyList: ["test1", "test5"], success: (res) => { console.log("获取数据成功:", res); }, fail: () => { console.log("获取数据失败"); }, complete: () => { console.log("执行调用结束回调"); } }) }); } 到此为止,我们完成了代码上...
来源: Laya3.0_文档 发布时间: 20251010
...有结果返回。 解决办法,所有使用资源的时候由原来的"res/res3D/Conventional/xxx.lh" 改成 "sub1/Conventional/xxx.lh"。“sub1”为子包名称 替换原来的“res/res3D”子包路径。 2021-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20210118