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

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

91. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 54%]

...it(1136, 640); var xhr:HttpRequest = new HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); } private function p...

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

92. WebGLRTMgr这个类没实现完,导致动态遮罩和滤镜会撑爆内存 [ 54%]

...现在都2.0版本了.这个问题需要解决一下了. var key:int = h * 10000 + w; var sw:Array = dict[key];   所以给有骨骼动画的对象添加滤镜和遮罩的时候,内存会崩掉. 做技能的扇形指引框的时候(遮罩实现),也会使内存崩掉.   这个问题也就是论坛...

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

93. 被遮罩的显示对象的子显示对象再添加遮罩,则子显示对象显示不正确 [ 54%]

...300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } ...

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

94. 加载不了模型 [ 54%]

...照相机         var camera = (scene.addChild(new Laya.Camera(0, 0.1, 10000)));         camera.transform.translate(new Laya.Vector3(0, 5, 5));         camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);         camera.clearColor = Laya.Vector3(255,255,0.1);       ...

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

95. 手机闪退,提示:JCTexture::freeGLResource thread error [ 54%]

...oogle-breakpad: 1.0.0 22402-16 22:30:46.971 16366 16366 W google-breakpad: 10000 22502-16 22:30:46.971 16366 16366 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ### 22602-16 22:30:46.973 16366 16366 E CrashReport-Native: Faile to open comm file(/system/build.prop) 2019-02-27 添...

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

96. 3D加载不了 [ 54%]

...照相机         var camera = (scene.addChild(new Laya.Camera(0, 0.1, 10000)));         camera.transform.translate(new Laya.Vector3(0, 5, 5));         camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);         camera.clearColor = Laya.Vector3(255,255,0.1);       ...

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

97. 分享:常见 IDE 错误提示解决方案 [ 54%]

...错类型3: IDE错误:Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ETIMEDOUT 127.0.0.1:9222).------可以参考开发者的解决方式(http://ask.layabox.com/question/4392)   以上报错可能是端口号冲突导致的,需...

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

98. 被遮罩的对象的子显示对象再添加遮罩,子显示对象的遮罩显示不正确 [ 53%]

...300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } ...

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

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

...了登录按钮')  var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler);  var sendData = {account:"aaa",password:"bbb"} xhr.send("http:...

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

100. LayaAir中怎么使用node.js 的 socket.io [ 52%]

...正确,现在出现 TypeError: Cannot create property 'path' on number '10000' at new r (file:///Users/bingbing/MahjongProject/MahjongLaya/bin/socket.io.js:1:15053) zhishaofei3 • 2017-09-22 23:31 @piaobo80:链接打不开了怎么办 还有链接吗 重发一下 zhishaofei3 • 2017-09-22 23:33 ...

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