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

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

5221. 自定义对话框设置zOrder后,关闭时报错 [ 51%]

...名为countLabel,然后发布; 2、复制上面的代码 3、代码中new CountdownBar() 4、执行 ippon • 2017-10-13 13:38 真正的原因找到了,不是zOrder的问题,是我使用自定义事件后,作用域紊乱,取不到numChildren Monica • 2017-10-13 17:16 @ippon:好的,...

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

5222. HttpRequest在网页上和APP上表现不一致 [ 51%]

...090/pgame/s ... 3B%3B Laya.timer.loop(30000, this, ()=>{     let hr = new Laya.HttpRequest();     hr.http.timeout = 3000;     hr.http.ontimeout = function(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success")...

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

5223. 分享一下自己的屏幕适配方案 [ 51%]

...nWidth:number; nHeight:number; ImgX:number; ImgY:number; Img:Laya.Image =new Laya.Image(); this.nWidth =this.bg.width; //背景图宽 this.nHeight =this.bg.height;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addChild(this.Img); //获取图片初始x y...

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

5224. 骨骼动画换装显示不刷新问题 [ 51%]

...mc_data = ResLoad.getInstance().getAtlasUrl("tiger_sk");  this.mFactory = new Laya.Templet(); this.mFactory.parseData(Laya.loader.getRes(mc_png),Laya.loader.getRes(mc_data));  this.skeleton = this.mFactory.buildArmature(1); 使用下面代码更换骨骼插槽纹理,无法更新显示。 var url...

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

5225. WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 [ 51%]

...当背景移动时,会显示间隔线且会不停闪烁  this.mapBg = new Laya.Sprite(); this.mapBg.name = "map"; this.mapBg.width = GameMain._width; this.mapBg.height = GameMain._height; this.mapBg.x = 0; this.mapBg.y = 0; this.mapBg.graphics.fillTexture(texture, 0, 0, GameMain._width, GameMain....

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

5226. 分享一个TS版本的斗地主客户端 [ 51%]

...:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 分享:自定义事件派发与侦听(A页面...

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

5227. QQ小游戏,Laya.MiniAdpter.nativefiles 报错 [ 51%]

...'init' of undefined     at Object.initMiniAdapter (bundle.js:1)     at new <anonymous> (bundle.js:1)     at bundle.js:1     at bundle.js:1     at f (QGame.js:1)     at QGame.js:1     at index.js:1     at f (QGame.js:1)     at QGame.js:1     at game.js:1 2020-03-19 添加评...

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

5228. 有关于显存值的设置方法是在官网哪里? [ 51%]

...叠 要回复问题请先登录 发起人 vincent 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示? 请问有没有方法能够获取“鼠标是否处于按...

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

5229. 求救,用了Stage.SCALE_SHOWALL之后,包围盒碰撞检测偏移 [ 51%]

...了一下,发现应该是             camera.viewportPointToRay(new Vector2(Laya.stage.mouseX,Laya.stage.mouseY),ray); 出了问题,用Stage.SCALE_SHOWALL前后,生成的射线位置不一样。 2018-02-27 0 1 分享 微博 QZONE 微信 c416288806 赞同来自: 。。。。?Laya还...

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

5230. 我按着官网的粒子材质教程实现,报错截图在问题补充里,问题补充里还有我参考的官网教程网址,已发demo,望解决,谢谢 [ 51%]

...https://ldc2.layabox.com/doc/?nav=zh-ts-4-11-0   附件 : --> test_3D.rar New_Unity_Project.rar 2021-01-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题...

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