大约有 490 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...r.js:5719: TypeError: image is not a function this._nativeObj = new image(); ^ TypeError: image is not a function at new HTMLImageElement (apploader.js:5719:27) ...
来源: Laya_社区 发布时间: 20180227
...ya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), null, Laya.Loader.ATLAS); Laya.loader.on(Event.ERROR, this, onError); } protected function onError(error:String):void { trace(error); } protected function onLoaded():void { Animation.createFrames(["war/h...
来源: Laya_社区 发布时间: 20161026
... 代码: Laya.loader.load("res/Particles/Tail.part", Laya.Handler.create(this, this.OnPariticleAssetsLoaded), null, Laya.Loader.JSON); OnPariticleAssetsLoaded(setting:Laya.ParticleSetting) { let sp = new Laya.Particle2D(setting); sp.pos(200, 200); sp.emitter.start(); sp.play(); Laya.stage.addChild...
来源: Laya_社区 发布时间: 20180505
...le(1,1); Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,new Handler(this,tweenGuide,[image]),500); } public function tweenGuide1(image:Image):void { Tween.to(image,{x:100,y:100},600,null,new Handler(this,tweenGuide1,[image]),500); } ********************************************【End...
来源: Laya_社区 发布时间: 20161216
...OWN, spe, onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } private function onMouseDown(e:Event):void { spe.startDrag(new Rectangle(0,0,800,800)); } 鼠标点击Sprite报...
来源: Laya_社区 发布时间: 20170407
... laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, 当 cg_...
来源: Laya_社区 发布时间: 20201130
...时候出问题了 //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play(); 附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190221
... StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample = (function(){ (function(){ Laya.init(667,375); Laya.stage.bgColor = "#ffcccc"; Laya.loader.load("res/atla...
来源: Laya_社区 发布时间: 20181029
... 但是 动画依然存在 private backindex():void{ this.removeSelf(); Laya.Scene.open("Gameindex.scene"); } 2019-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...
来源: Laya_社区 发布时间: 20191224
...nd._musicAudio; }else { /* if(MiniSound._audioCache[this.readyUrl]){ tSound=MiniSound._audioCache[this.readyUrl]._sound; }else{*/ tSound=MiniSound._createSound(); // } 改成这样就OK了 2018-08-20 0 0 分享 微博 ...
来源: Laya_社区 发布时间: 20180817