大约有 1,720 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...ter.WIDTH) this.x = -Character.WIDTH; } } Character.WIDTH = 110; Character.HEIGHT = 110; new PerformanceTest_Cartoon2();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; import Animation = Laya.Animation; import Sprite = Laya.Sprite...
来源: Laya2.0_示例 发布时间: 20251219
...的粒子特效 在LAYA里出现卡顿 跳帧 求解决办法 使用CreateHeightMap脚本生成高度图的时候,高度图旋转了90°是什么原因? 获取到的别人的粒子特效有办法使用吗 实现创建一个盒子,盒子里面放置文案,文案超过盒子的高度的时候...
来源: Laya_社区 发布时间: 20190110
...nal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoaded)); } //切记:设置tiledMap的宽高,需要在地图创建完成之后 private function onLoaded():void { var sp:Sprite=tiledMap.mapSprite() as Sprite;//为tiledMap整个地图的显...
来源: Laya_社区 发布时间: 20170419
...on login(){ login.super(this); var stageWidth = Laya.stage.width; var stageHeight = Laya.stage.height; console.log(stageWidth*0.05+":"+stageHeight); var path = [ ["moveTo",stageWidth*0.05,0], ["actTo",stageWidth*0.8,0,stageWidth*0.8,stageHeight*0.05,10], ["actTo",stageWidth*0.8,stageHeight*0.6,stage...
来源: Laya_社区 发布时间: 20170806
...NE 微信 Laya_Aaron 赞同来自: 设置 宽高等于 Laya.stage.width, height 2018-07-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 liwenhua 相关问题 看了其他引擎才发现 LAYA 真的太太...
来源: Laya_社区 发布时间: 20180723
.../bg/" + window.gamebgUrl, }], scaleMode: "FIXED_HEIGHT", contextType: 'webgl', contextAttributes: {alpha: false}, }).then(() => { }).catch((err) => { }); } catch(err) { console.error('current env ...
来源: Laya_社区 发布时间: 20241010
...分渐变功能。 spbg.graphics.drawPath(0,0, radius(spbg.width,spbg.height,10),{ fillStyle: gradient}); 请问怎么写代码能调用下面的canvas原生代码?不用Laya的滤镜。 (Laya滤镜和webgl捆绑了) context.shadowColor = "re...
来源: Laya_社区 发布时间: 20180615
...iv class="upload-wrap" id="upload" style="left: 0px; top: 0px; width: 0px; height: 0px; display: none;"> <input type="file" class="upload-pic" id="upFile" accept="image/jpeg,image/png" value="upload Img"> <span class="upload-text"></span> </div> 我在html...
来源: Laya_社区 发布时间: 20170116
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite dragArea : String 用来指定对话框的拖拽...
来源: Laya2.0_api 发布时间: 20190513
...DOMElementInArea(videoElement, reference, 0, 0, reference.width, reference.height); 就可以了 zIndex 或者 zInddex 效果都一样 bona2000 • 2017-12-04 17:24 建立例子里 说明一下 监听可能无效 需要手工执行
来源: Laya_社区 发布时间: 20171204