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

大约有 388 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

311. 模拟石头下落过程不明抖动 [ 46%]

...ssage); // }; // Game.inst.start(); setInterval( this.addball.bind( this ),500); } public addball(){ for( let i:number = 0 ; i < 6; i++){ let ball = this.getObj(); ball.x = (i%6) *150 ball.y = -200 Laya.Tween.to( ball,{y: 1500 } ,5000,Laya.Ease.linearOut,Laya.Handler.create(this,this.removeball,[...

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

312. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 46%]

...导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_n.png" editorInfo="compId...

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

313. 求指点3d射线碰撞和UI点击穿透的问题 [ 45%]

...取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAllInfo, 500, 0);   这是通过屏幕当前鼠标位置获取一条射线碰撞集合,然后我又创建了一个Button,点击Button时发现射线也响应了,如何能让点击UI时不进行射线碰撞检测呢?谢谢 2018...

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

314. layaAir3.0适配导致应用重启的重大bug,急急急! [ 45%]

... 2、本来以为是内存的问题,但是在某些场景GPUMemory达到500MB以上、TextureMemory达到300MB以上,横竖来回切换又不出现此现象;           3、fixedauto模式在切换的时候,会自动申请内存,40-70mb不等,目前不同场景测试出来的,感...

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

315. LayaBox HelloWorld实战 [ 45%]

... World!'; button.name = Laya.Dialog.CLOSE; button.width=260; button.height=500; button.pos(35, 35); dialog.addChild(button); dialog.dragArea = '0,0,300,600'; dialog.show(); } onEnable() { this.btnShow.on(Laya.Event.CLICK,this,this.onBtnShowClick); } onDisable() { } } 是不是以为到了这一步...

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

316. 分享:销毁龙骨动画! [ 45%]

... mArmature = mFactory.buildArmature(0); mArmature.x = 400; mArmature.y = 500; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function completeHandler():void { play(); } private function play():void { mCurrIndex++; if (...

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

317. 多行输入文本组件 · LayaAir3.0文档 · LAYABOX [ 45%]

...idth >> 1, Laya.stage.height >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.height/2); //轴心点 this.txtarea.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里是TextArea的文本内容,您可以基于此...

来源: Laya3.0_文档 发布时间: 20230629

318. 关于Tween类多个对象同时缓动的时候过一段时间会不同步 [ 45%]

...ject=new Object(); obj["x"]=this.x; obj["y"]=this.y+num; Tween.to(this,obj,500,null,Handler.create(this,startAnimated)) } } 开始是同步的 时间长了动画会出现很大的误差 下面是不同步的时候和开始同步的时候的图片   附件 : --> 2018-05-24 添加评论 免费帖 -->...

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

319. 在Laya中使用Matter.js的最简示例 (JS) [ 44%]

...xB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(engine.world, [boxA, boxB, ground]); // run the engine Engine.run(engine); // run the renderer Render.run(render);显示效果如下 但是这...

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

320. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 44%]

...国标准时间) JS 文件编译 VM125:4 以下 JS 文件过大(超过 500K),已跳过 ES6 转 ES5 和压缩的处理: (anonymous) @ VM125:4 (anonymous) @ VM125:7 VM125:5 libs/min/laya.d3.min.js 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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