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

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

581. 动画编辑修改任意一组其中一帧导致所有帧都被默认相同 [ 57%]

...拖拽上传的时候 每一帧的 x=0,y=0, width=(图片上传后的宽),height(图片上传后的高)。   2017-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 wudi199553 赞同来自: 我们就是这么...

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

582. 微信小游戏,截屏和开放域不能共存 [ 56%]

...截屏接口使用的是 drawToCanvas(this.basePanel.width, this.basePanel.height, this.basePanel.x, this.basePanel.y).toBase64("image/png", 0.9, function(base64) 请问这个怎么解决,谢谢啦 2019-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

583. 普通文本中文逗号导致异常换行 [ 56%]

...(txt); txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height-txt.textHeight) / 2; zkang5 • 2022-07-11 09:49 好的,谢谢

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

584. Config3D_API3.0 [ 56%]

...使用BVH裁剪 Methods Static setResolution setResolution(width: number, height: number): void Defined in Config3D.ts:59 设置分辨率大小(并不是实际渲染分辨率) Parameters width: number height: number Returns void Globals "Config3D" Config3D BVH_Min_Build_nums BVH_limit_size BVH_m...

来源: Laya3.0_api 发布时间: 20231115

585. [LayaAirIDE3]2d相机打包后问题 [ 56%]

...置边界参数         const MAP_WIDTH = 6294;         const MAP_HEIGHT = 4196;         const MAP_X = -1230;         const MAP_Y = -849;          this.playerScript.mapMinX = MAP_X;         this.playerScript.mapMaxX = MAP_X + MAP_WIDTH;         this.playerScript.mapMinY ...

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

586. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 56%]

... = (Laya.stage.width - progressBar.width ) / 2; progressBar.y = Laya.stage.height / 2; //设置九宫格边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(progressBar); /...

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

587. 关于event中只读属性touches,问题,求解 [ 56%]

...ew Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt); } private function onFunc(e:Event):void { var arr:Array = e.touches; console.log("e.touchId="+e.touchId); con...

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

588. Laya List给子元素添加事件后,滚动事件被劫持了 [ 56%]

... 0; i <20; ++i) { let list = new Laya.Sprite(); list.width = 600 ; list.height = 155; list.loadImage('xxx.png'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 txArray.push(list);} storeTxList.arr...

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

589. 图片不能按轴心旋转 [ 56%]

...ler.create(this,aa)); function aa(texture){ bg.pivot(texture.width,texture.height); bg.alpha = 1; bg.rotation = 10; } 2018-05-19 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 智力猫 相关问题 sprite旋转...

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

590. 我创建了 一个 dialogUI,怎么在页面中打开? [ 55%]

...面中打开? this.wrong=new ui.wrongUI; this.wrong.width=300; this.wrong.height=200; this.wrong.x=50; this.wrong.y=100; this.doworkui.addChild(this.wrong); doworkui是我的一个UI,我要在这个面中打开一个对话框. wrongUI是我创建的 对话框 我现在这个对话框是可以初始...

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