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

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

1801. laya.ui.ScaleBox_API3.0 [ 47%]

...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage ...

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

1802. IDE报错 [ 47%]

...g-core\node_modules\vscode-debugadapter\lib\protocol.js:104:38) at Socket.<anonymous> (c:\Program Files (x86)\LayaBox\LayaAirIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (e[...] 每次编译都...

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

1803. 打包单机版黑屏 [ 47%]

...配置如下图, 游戏是竖屏的,在index.html里面已经设置 <meta name="laya" screenorientation="portrait" /> 在AndroidManifest.xml里面也设置了 android:screenOrientation="portrait" 资源路径用的是发布h5 release后index.html的目录,发布h5目录是 D:\layademo\mj...

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

1804. laya.ui.Box_API3.0 [ 47%]

...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage ...

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

1805. 更新到1.7.6beta之后,HBox有bug [ 47%]

... { var hbox: laya.ui.HBox = new laya.ui.HBox(); for (var i: number = 0; i < 10; i++) { var skin: string; switch (i) { case 0: skin = "comp/bg.png"; break; case 1: skin = "comp/blank.png"; break; case 2: skin = "comp/btn_close.png"; break; case 3: skin = "comp/button.png"; break; case 4: skin = "c...

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

1806. FontClip问题 [ 47%]

...现在问题来了。根据代码 for (var i=0,sz=this._valueArr.length;i < sz;i++){   var index=this._indexMap[this._valueArr.charAt(i)];   if (!this.sources[index])continue ;   texture=this.sources[index];   if (isHorizontal)this.graphics.drawTexture(texture,dX+i *(texture.sourceWidth+t...

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

1807. 最新版本IDE,如何获取http返回的json数据 [ 47%]

...hr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 400)) {                 if(JSON.parse(xhr.responseText).status===1){                     console.log ('登录成功')                     cc.director.loadScene("main")                 ...

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

1808. animate 动画播放 怎么把攻击 开火 合起来播放 [ 47%]

...ing, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("imgs/role/wp116/" + aniName + i + ".png"); } return urls; } } new GameMain(); 2017-12-28 添加评论 免费帖 --> 分...

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

1809. laya.ui.AdvImage_API3.0 [ 47%]

...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid ske...

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

1810. Mesh模型能否动态合并? [ 47%]

...-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自:  for (var i=0;i<100;i++) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(xxxx)); //加载材质 layaMonkey.meshRender.material = mat; layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation...

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