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

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

1611. 可以帮我测试一下吗? 使用mask的场景,放着就会出现记忆体用完的讯息? [ 46%]

...; s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是0,0,只要设置了mask,chrorme就会警告cache bitmap size larger than 2048,cache ig...

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

1612. LayaAir 寻路库,寻路路径错误 [ 46%]

...---------------------------------- public function Grid(width_or_matrix:*, height:int, matrix:Array = null) 虽然as3不支持多个构造函数,但是也没必要用这种解决方法吧,包括Grid构造函数初始化的代码简直绕晕了 附件 : --> Astar.zip 2016-12-21 添加评论 免...

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

1613. laya.d3.resource.DataTexture2D [ 46%]

...资源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTexture mipmap : Boolean 是否使用mipLevel BaseTexture repeat : Boolean 是否使用重...

来源: laya_api 发布时间: 20170929

1614. 游戏在后台放置一段时间(大约一两个小时后)会黑屏,然后要等好长的一段时间才响应过来,我看log此时JS逻辑都没跑了。 苹果虽然不会黑屏,但画面会不动,失去响应,过一段时间JS逻辑才跑起来。 [ 46%]

...时间JS逻辑才跑起来。 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px 'Helvetica Neue'; color: #000000} 游戏在后台放置一段时间(大约一两个小时后)会黑屏,然后要等好长的一段时间才响应过来,我看log此时JS逻辑都没跑了...

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

1615. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 45%]

... "#232628"; //适配模式 //Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //添加3D场景 var scene = n...

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

1616. 2.0 Beta3版本中,runtime脚本的的问题 [ 45%]

...置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; static sceneRoot:string=""; static deb...

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

1617. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 45%]

...4,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2, "child":[ { "x":15, "type":"Image", "searchKey":"Image", "props":{"y":98,"x":450,"s...

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

1618. 使用webgl之后toDataUrl返回黑色的图像 [ 45%]

...unction LayaAirDemo() { //初始化引擎 Laya.init(Browser.width, Browser.height,WebGL); Stat.show(); Laya.stage.bgColor = "#ffcccc"; Laya.stage.on(Event.CLICK,this,onClick); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var...

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

1619. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 45%]

...epeatY = 4;   list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2;   // 使用但隐藏滚动条 list.vScrollBarSkin = "";   list.selectEnable = true; list.selectHandler = new Handler(this, onSelect);   list.renderHandler = new Handler(this, updateItem); ...

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

1620. 微信小游戏加载资源问题 [ 44%]

....width / Laya.Render.canvas.width / Laya.Browser.pixelRatio), Laya.Browser.height / Laya.Render.canvas.height / Laya.Browser.pixelRatio); } static wxinputFocus(e) { var _inputTarget = Laya.Input['inputElement'].target; if (_inputTarget && !_inputTarget.editable) { return; } MiniAdpter.window...

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