大约有 553 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
Laya_社区(514) Laya2.0_文档(17) Laya3.0_文档(12) Laya3.0_api(4) Laya2.0_api(2) laya_api(2) Laya_示例(1) Laya2.0_示例(1)
...代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class GameBootstrap{ public constructor(){ this.init(); } private init():void{ //初始化微信小游戏 Laya.MiniAdpter.ini...
来源: Laya_社区 发布时间: 20180529
...ree/clip_tree_folder.png", "../../res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, new Handler(this, onLoadComplete)); })(); function onLoadComplete() { // 组装tree的数据 var treeData = ""; for (var i = 0; i "; for (var j = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的...
来源: Laya_示例 发布时间: 20251130
...s/ui/tree/clip_tree_folder.png", "res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const Utils = Laya.Utils, Tree = Laya.Tree; // 组装tree的数据 let treeData = ""; for (let i = 0; i "; for (let j = 0; j "; } treeData += "...
来源: Laya2.0_示例 发布时间: 20251130
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, setup)); })(); function setup() { createApe(); applayFilter(); } function createApe() { ape = new Sprite(); ape.loadImage(apePath); var texture = Laya.loader.getRes(apePath);...
来源: Laya_社区 发布时间: 20181012
...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。 这是在chrome下面正常运行的信息 附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20191121
...; 10; ++i) { var url:String = "res/xxx" + i + ".png"; Laya.loader.load(url); } // 先Image var img:Image = new Image(); img.skin = "res/test1.png"; img.pos(100, 100); // 再Html var html = new HTMLDivElement(); html.innerHTML = "<img src='res/test1.png'/>"; html.pos(150, 10...
来源: Laya_社区 发布时间: 20181219
...麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 Laya.loader.create 进度回调函数执行两次 最新版LayaAir IDE 2.2.0beta4的几个问题 问题状态 最新活动: 2017-05-31 11:24 浏览: 1061 关注: 2 人
来源: Laya_社区 发布时间: 20170531
...-22 17:58 浏览: 1094 关注: 5 人 jacksing888 • 2018-01-22 23:37 Laya.loader.load( 'res/atlas/comp.json', Handler.create(this, function(){ container = new Laya.Sprite(); var x = 0,y =80; Laya.stage.addChild(container); for(var i=0;i<1200;i++){ var role = new Laya.Sprite(); x = x+0.1; y = y+0...
来源: Laya_社区 发布时间: 20180122
...链接 提交 1 个回复 Monica - 知识达人 赞同来自: 使用Laya.loader.load预加载下资源,然后在加载完成的回调中去使用即可! 2017-10-22 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cyqcyqcyq 浙江大学...
来源: Laya_社区 发布时间: 20171022
...退出游戏”,如果去掉这个提示 改造原生调用 使用Laya.loader.load缓存下来的文件还在res目录下吗?在编辑模式下怎么调用缓存下来的文件? 原生层 通过Conch 调用js 方法 并传递json 对象 报错 请问在objectC中如何调用js 问题状态 最...
来源: Laya_社区 发布时间: 20190515