大约有 1,491 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(917) Laya2.0_文档(193) Laya_示例(125) Laya2.0_示例(101) Laya3.0_api(79) Laya3.0_文档(72) laya_api(2) Laya2.0_api(2)
... this.imgSp.cacheAs = "bitmap"; Laya.stage.addChild(this.imgSp); this.imgSp.graphics.drawTexture(rtex); 2020-06-02 0 0 分享 微博 QZONE 微信 熊猫大侠 赞同来自: 有做过类似功能的同学吗 2020-05-29 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20200529
...Page.graphics.drawRect(0,0,300,300,"#ffcccc"); //添加到stage Laya.stage.addChild(bgPage); //实例化MonkeyPageUI页面 var monkeyPage:MonkeyPageUI = new MonkeyPageUI(); //为了能够清楚的看到这个页面所在的位置,在此设置设置一个背景色 monkeyPage.graphics.drawRect(0,0,3...
来源: Laya2.0_文档 发布时间: 20210714
...entagram(); } drawPentagram() { let canvas = new Laya.Sprite(); Laya.stage.addChild(canvas); let path = []; path.push(0, -130); path.push(33, -33); path.push(137, -30); path.push(55, 32); path.push(85, 130); path.push(0, 73); path.push(-85, 130); path.push(-55, 32); path.push(-137, -30); path.push(-...
来源: Laya2.0_示例 发布时间: 20251209
... ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段代码并没有得到图片缩放的效果,看到的现象是图片一直在往左移动 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170609
... this.label.zOrder=9980 Laya.stage.addChild(this.label); this.label.visible = false; this.OpenLabel(); } private OpenLabel() { this.label.visible = true; ...
来源: Laya_社区 发布时间: 20190514
... //把实例化好的飞机添加进容器内 this.addChild(this.playAnim); this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete); } onMouseMove():void{ //根据鼠标位移主角方法 this.hero.pos(Laya.stage.mo...
来源: Laya_社区 发布时间: 20180502
... = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(...
来源: Laya_社区 发布时间: 20170818
....x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData; Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20170406
... } createText() { const Text = Laya.Text; var txt = new Text(); Laya.stage.addChild(txt); txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向AS/JS/TS开发者提供HTML5开发技术方案!"; txt.width = 300; txt.fontSize = 40; txt.color = "#ffffff"; // 设置文本...
来源: Laya2.0_示例 发布时间: 20251209
...则进入会员列表 var mblv = new BriefView(); mblv.init(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("请联...
来源: Laya_社区 发布时间: 20170215