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

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

1371. 性能测试-卡通人物2 [ 53%]

...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

1372. [LayaAirIDE 2.0]读地形高度图时,没办法把Texture2D的_canRead设为true [ 53%]

...的粒子特效 在LAYA里出现卡顿 跳帧 求解决办法 使用CreateHeightMap脚本生成高度图的时候,高度图旋转了90°是什么原因? 获取到的别人的粒子特效有办法使用吗 实现创建一个盒子,盒子里面放置文案,文案超过盒子的高度的时候...

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

1373. 分享:TiledMap设置viewport后黑屏问题! [ 53%]

...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

1374. 想绘制一个自适应得圆角矩形框,失败了,求解惑 [ 53%]

...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

1375. laya有没有一个容器,他的长宽自动等于父容器长宽啊 [ 53%]

...NE 微信 Laya_Aaron 赞同来自: 设置 宽高等于 Laya.stage.width,  height  2018-07-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 liwenhua 相关问题 看了其他引擎才发现 LAYA 真的太太...

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

1376. [LayaAir3]3D骨骼动画动画烘培 [ 53%]

.../bg/" + window.gamebgUrl,       }],       scaleMode: "FIXED_HEIGHT",       contextType: 'webgl',       contextAttributes: {alpha: false},     }).then(() => {     }).catch((err) => {     });   } catch(err) {     console.error('current env ...

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

1377. 请问,怎么写代码能直接调用canvas 内的发光滤镜? [ 53%]

...分渐变功能。   spbg.graphics.drawPath(0,0, radius(spbg.width,spbg.height,10),{ fillStyle: gradient});  请问怎么写代码能调用下面的canvas原生代码?不用Laya的滤镜。 (Laya滤镜和webgl捆绑了)                         context.shadowColor = "re...

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

1378. 加速器是不是不支持input:file [ 52%]

...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

1379. laya.ui.Dialog [ 52%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite  dragArea : String 用来指定对话框的拖拽...

来源: Laya2.0_api 发布时间: 20190513

1380. 参考例子使用 dom video播放 不显示能听到视频声音 [ 52%]

...DOMElementInArea(videoElement, reference, 0, 0, reference.width, reference.height); 就可以了 zIndex 或者 zInddex 效果都一样 bona2000 • 2017-12-04 17:24 建立例子里 说明一下 监听可能无效 需要手工执行

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