大约有 3,084 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0076 秒)
Laya_社区(2354) Laya2.0_文档(237) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(36)
..., onLoaded)); function onLoaded(){ var aa = new Sprite(); Laya.stage.addChild(aa); var texture = new Laya.Texture(); texture.load('comp/zzw.png' ); setTimeout( function(){ aa.graphics.drawTexture(texture,0,0); }, 1000 ) } 3Q 2017-12-26 添加评论 ...
来源: Laya_社区 发布时间: 20171226
...emo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>在此使用右移...
来源: Laya2.0_文档 发布时间: 20210715
...效。 Laya.init(GameConfig.DeviceW, GameConfig.DeviceH, Laya.WebGL); Laya.stage.bgColor = "none";//背景透明 } else { Laya.init(GameConfig.DeviceW, GameConfig.DeviceH); Laya.stage.bgColor = null;//背景透明 } 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180521
...ion Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();/...
来源: Laya3.0_api 发布时间: 20231115
... = new Laya.Sprite(); ape1.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape1); //面板 var panel = new laya.ui.Panel(); panel.width = 500; panel.height = 500; panel.x = 200; var label = new laya.ui.Label(); label.text = "fsadfsdfsdfsdfsdf"...
来源: Laya_社区 发布时间: 20170401
....innerHTML = "<img src='res/test1.png'/>"; html.pos(150, 100); Laya.stage.addChild(img); Laya.stage.addChild(html); 按照这个顺序,图片test1.png加载不出来 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20181219
...么使用 google/blockly //初始化引擎 //Laya.init(960, 660); //Laya.stage.bgColor = "#ffffff"; var demoWorkspace:Object = Browser.window.Blockly.inject('blocklyDiv',{toolbox: Browser.document.getElementById('toolbox')}) 不创建laya舞台是直接能玩,但是不知道怎么把Blockly 生成...
来源: Laya_社区 发布时间: 20180331
...回复 Laya_Aaron 赞同来自: 失去焦点的时候关了渲染,Laya.stage.RenderingEnable = false 2018-02-27 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 RayFor24 相关问题 两个对象new了一个相同的对象,调用...
来源: Laya_社区 发布时间: 20180227
... constructor() { super(); this.stage.on(Laya.Event.FOCUS, this, this.onFocus); this.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.timer.frameLoop(1,this,this.onFrameLoop); } private onFrameLoop():void{...
来源: Laya_社区 发布时间: 20180724
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...
来源: Laya3.0_api 发布时间: 20231115