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

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

421. js如何解析nettywebsocket发的二进制数据中的utf8汉字 [ 50%]

...么? 聊天室存储数据 socket收到服务器的数据如何解析成proto对象? 分享:H5行业的裸跑游戏顶级大作《梦幻家园》最新数据大曝光! 微信小游戏在开放数据域绘制排行榜无法显示图片 小游戏 解析xml 问题 跪求登陆注册数据交互...

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

422. layacmd 报错 [ 50%]

...bin/ProjectExportTools/LayaAirCmdTool.max.js:25740:21) at LayaAirCmdTool.__proto.init (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:427:34) at new LayaAirCmdTool (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:410:9) at /usr/lib/node_modules/...

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

423. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 50%]

... } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (responseType === void 0) && (responseType = "text"); _super.prototype.send...

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

424. Text的中划线(删除线) [ 50%]

...a.core.js this.underline && this.drawUnderline(textAlgin,x,y,i); __proto.drawUnderline=function(align,x,y,lineIndex){             var lineWidth=this._lineWidths[lineIndex];             switch (align){                 case 'center':           ...

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

425. 为什么SOCKET接收数据BYTE内存会越来越大 [ 50%]

...导致的吗? 怎样解决? socket收到服务器的数据如何解析成proto对象? 问题状态 最新活动: 2017-12-14 11:22 浏览: 1084 关注: 2 人

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

426. Laya引擎bug [ 50%]

... /**     *@private     *分析文本换行。     */     __proto.parseLines=function(text){         var needWordWrapOrTruncate=this.wordWrap || this.overflow==Text.HIDDEN;         if (needWordWrapOrTruncate){             var wordWrapWidth=this.getWordWrapW...

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

427. 微信小游戏,开放域(排行榜)关闭后再开始游戏与直接开始游戏相比较,掉帧严重! [ 50%]

...面,帧57-60。 以下是关闭排行榜的代码://移除排行榜 _proto.closeCloudStorage = function () { if (LayaSample.refract && Laya.stage.contains(LayaSample.refract)) LayaSample.refract.removeSelf();//折射层移除舞台 if (Laya.stage.contains(LayaSample.spriteLeaderboard)) {...

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

428. HTMLDivElement下划线换行时,下划线颜色错误 [ 50%]

...行时,会用到这一段代码,错误应该是这段代码造成。 __proto.createOneLine=function(startWord,lastWords,hasLine,graphic,recList){ var lineY=lastWords.y+lastWords.height; if(hasLine) graphic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTM...

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

429. 打包后报错 Unexpected token in JSON at position 266 [ 49%]

...CallBack (http://127.0.0.1:31158/game/code.js:22404:25)     at Handler.__proto.runWith (http://127.0.0.1:31158/game/code.js:725:41)     at Function.success (http://127.0.0.1:31158/game/code.js:21629:33)     at Object.success (http://127.0.0.1:31158/game/__ ... 213995)     at r (http://127.0....

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

430. 在线急等,发现你们这个编译器一个bug,不能实现负负得正 [ 49%]

...思 2017-11-07 1 0 分享 微博 QZONE 微信 l13273866189 赞同来自: _proto_.moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.stageHeight ||this.ball.y +...

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