大约有 513 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)
Laya_社区(422) Laya2.0_文档(51) Laya2.0_示例(16) Laya_示例(12) Laya3.0_文档(6) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png", Handler.create(this, __loadImageHandler)); } private function __loadImageHandler():void { _colorSpr = new Sprite(); _colorTex = Laya.loader.getRes("assets/images/color1.png"); _colorSpr...
来源: Laya_社区 发布时间: 20180302
...uot;../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.a...
来源: Laya_社区 发布时间: 20180604
....moduleCode[moduleName]; var moduleJs:*; if (codeConfig) { moduleJs = Laya.loader.getRes(codeConfig.url); } return moduleJs; } chunjine • 2017-03-17 15:45 @chunjine:不对,并不能断点,只是有异常能进去。 sleepfish • 2017-03-27 09:36 可以断点。。。只要在data后面加上/...
来源: Laya_社区 发布时间: 20161020
...ure2d destory"); } this.bitmap=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } }增加的代码是 if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } 2019-06-13 0 0 分享 微博 QZONE 微信 打...
来源: Laya_社区 发布时间: 20190320
...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); })(); function setup() { normalizeApe(); makeRedApe(); grayingApe(); } function normalizeApe() { var originalApe = createApe(); apeTexture = Laya.loader.getRes(ApePath); orig...
来源: Laya2.0_文档 发布时间: 20210714
...0 0 分享 微博 QZONE 微信 liwenhua 赞同来自: this.linkJson = Laya.loader.getRes('res/json/linkUrl.json');这样读取出来不就是就对象了吗,怎么设置编码格式啊??不会啊!!!我都是这样引用,然后直接this.linkJson.XXX进行读取的,如果数值都都...
来源: Laya_社区 发布时间: 20180115
...adImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.grap...
来源: Laya_社区 发布时间: 20171220
...; this.scene.addChild(this.camera); Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh...
来源: Laya_社区 发布时间: 20191102
...用代码调用按钮的点击事件(如as3的dispatchEvent)? Laya.loader.getRes的声音资源如何用Laya.SoundManager播放? 问题状态 最新活动: 2017-08-08 23:11 浏览: 4395 关注: 3 人 cuixueying • 2017-04-26 20:01 flash builder是as3的调试环境,不是h5的,我们只...
来源: Laya_社区 发布时间: 20170426
...loadEffectComplete():void{ var effect:Laya.Sprite3D = Laya.loader.getRes("res/effect/2/Conventional/bullet.lh"); this.compileShader(effect); //===========放心使用吧================= var myeffect:Laya.Sprite3D = effect.clone(); ...
来源: Laya_社区 发布时间: 20190404