• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 277 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)

101. ui资源存的位置 [ 62%]

...览: 1820 关注: 2 人 jison_ailin • 2017-05-25 10:21 在ide里面资源comp文件夹,点击右键打开所在目录是laya/assets/comp cuixueying • 2017-05-25 10:23 那个不是你项目的资源目录,是IDE的,你的资源目录在bin下 jison_ailin • 2017-05-25 14:02 @cuixueying:那...

来源: Laya_社区 发布时间: 20170524

102. UI编辑发布后运行lose skin [ 62%]

...ya.init(600,400, WebGL); Laya.stage.bgColor = "#000000"; Laya.loader.load("comp/button.png", Handler.create(this, this.onLoaded)); } private onLoaded(): void { this.begin = new Begin(); Laya.stage.addChild(this.begin); } } new GameMain(); 2018-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微...

来源: Laya_社区 发布时间: 20180829

103. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 62%]

...0,WebGL);             Laya.loader.load([GameConfig.getAssetsFile("comp")],Handler.create(this, onComplet));                          }         private var imag:Image;         private function onComplet():void         {             imag=new Image(...

来源: Laya_社区 发布时间: 20170510

104. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 62%]

...{ //在回调里,正常使用原来的图集 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/...

来源: Laya2.0_文档 发布时间: 20210714

105. htmlCanvas.toBase64在iPhone上转换结果错误 [ 61%]

...anvas这块的功 构建App 设置横竖屏错误与黑屏问题 lose skin comp/button.png 错误,全部按照UI案例来的呀 问题状态 最新活动: 2019-02-19 11:47 浏览: 2814 关注: 2 人

来源: Laya_社区 发布时间: 20190111

106. 鼠标穿透问题 [ 61%]

...TER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load([{url:"image/comp.json", type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { createList(); createItems(); createLoading(); _list.addChild(_loadingBg); Laya.stage.addChild(_list); } protected function...

来源: Laya_社区 发布时间: 20170323

107. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 61%]

...景编辑器中,如图7所示,(*注意:本例中的button组件在comp目录下*)。 ![图7](img/7.png) (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件下,如动画8所示。 ![图8](img/8.gif)(图8) **步骤三**:为实现居中缩放效...

来源: Laya2.0_文档 发布时间: 20210715

108. 添加fairygui使用fairygui.UIPackage.addPackage ( "res/Bag" )后可以正常跑,发布到微信小游戏出错 [ 61%]

...擎需要的资源             //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded));              Laya.loader.load             (                 [                     { url: "res/atlas/comp.atlas" , type: ...

来源: Laya_社区 发布时间: 20180513

109. 如何从代码中创建UI,progressbar [ 61%]

...你可以使用layaAir IDE新建一个项目,在项目中的laya/assets/comp目录下可以看到每个组件的皮肤和命名的定义         参考:UI组件资源命名规则 第三个问题:         你可以考虑用动态遮罩实现图片进度条显示,在IDE下制作p...

来源: Laya_社区 发布时间: 20160729

110. drawToCanvas转出图片与游戏内显示颜色差距过大 [ 61%]

...a.stage.bgColor='#ffffff';         Laya.stage.addChild(new Laya.Image('comp/img/img1.png'));         Laya.timer.once(1000, this, this.delayShow);     }     delayShow() {         let canvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);         let str = can...

来源: Laya_社区 发布时间: 20230419