大约有 490 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(254) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya_示例(19) Laya2.0_示例(19) Laya2.0_文档(18) Laya3.0_文档(6)
...tton2.skin=button1.skin,如果你要赋值给一个sprite,就让sprite.loadImage(button.skin) 2017-05-22 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Loongman 相关问题 发起问题须知,必看!!!不按提问规则的...
来源: Laya_社区 发布时间: 20170522
... 1 个回复 Laya_XS 赞同来自: var sprite:Sprite = new Sprite; sprite.loadImage("图片路径"); Laya.timer.loop(1000,this,function(){ sprite.y += 1; }) 不知道是不是你想要的? 2016-11-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20161125
...回复 Monica - 知识达人 赞同来自: var sp = new Laya.Sprite(); sp.loadImage("url"); Laya.stage.addChild(sp); 2017-12-26 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq408896436 相关问题 请问LayaAir中如何使图片以圆...
来源: Laya_社区 发布时间: 20171226
点击事件疑问 发现了精灵sprite 显示图片 如果是用loadImage的话 要接受鼠标事件 是不需要显示设置size的 如果是用sprite的graphic的drawTexture来显示图片 是需要显示设置size 才能接受鼠标事件 是不是这样 2017-02-10 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20170210
...prite; character = new Sprite(); Laya.stage.addChild(character); character.loadImage("res/cartoonCharacters/1.png"); character.pos(100, 50); } createEaseFunctionList() { const List = Laya.List, Handler = Laya.Handler; let easeFunctionsList = new List(); easeFunctionsList.itemRender = ListItemRender;...
来源: Laya2.0_示例 发布时间: 20251130
...ya.wxmini.js中MinAspter的init方法里添加一行Laya.Loader.prototype._loadImage = MiniImage.prototype._loadImage;即可正常 附件 : --> 2019-12-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20191210
...ller(); } function createCharacter() { character = new Sprite(); character.loadImage("../../res/cartoonCharacters/1.png"); character.pos(100, 50); Laya.stage.addChild(character); } function createEaseFunctionList() { var easeFunctionsList = new List(); easeFunctionsList.itemRender = ListItemRender; ...
来源: Laya_示例 发布时间: 20251130
...dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.m...
来源: Laya_社区 发布时间: 20191031
...dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.m...
来源: Laya_社区 发布时间: 20191031
...ild.y; } private createApe(): Sprite { var ape: Sprite = new Sprite(); ape.loadImage("res/apes/monkey2.png"); Laya.stage.addChild(ape); return ape; } } } new laya.Filters_Color();package { import laya.display.Sprite; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Te...
来源: Laya2.0_示例 发布时间: 20251130