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

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

1371. 为啥 增加 Text ,drawcall 暴增 ?????????????? [ 53%]

...ish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.addChild(fish.scoreItem); fish.scoreGold = new Laya.Image(); fish.scoreGold.skin = "assets/ui_imgs/icon_00312.png"; fish.scoreGold.x = fish.scoreItem.x; fish.scoreGold.y = fish.scoreItem.y; fish.scoreGol...

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

1372. scaleMode 用法 [ 53%]

...场景有拉伸,但是可以全屏显示,esactfit、fixedwidth、fixedheight 2、场景按照最长边或者短边去等比缩放,不会有拉伸,但是可能会出现裁剪或者留空白边  showall、noborder 3、自动适配fixedwidth、fixedheight,按照屏幕的宽高去自动拉伸...

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

1373. 性能测试-卡通人物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_示例 发布时间: 20260303

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

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

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

1375. 分享: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

1376. 想绘制一个自适应得圆角矩形框,失败了,求解惑 [ 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

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

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

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

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

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

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

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

1380. 加速器是不是不支持input:file [ 53%]

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