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

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

461. 分享:开启增量自动编译 [ 54%]

...编译后,输出面板会看到11:38:21 - Compilation complete. Watching for file changes.//表示增量编译已经成功开启 4、我们一起看下效果(修改脚本后,Ctrl+S保存,即可直接看到编译过后的效果,无需再次编译)   切记:在使用增量编译之前...

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

462. PNG压缩没效果 [ 54%]

...HtmlDivElement添加下划线效果不对 基本效果已经实现,想用for批量绑定事件 问题状态 最新活动: 2018-09-12 10:02 浏览: 1011 关注: 2 人 Laya_Aaron • 2018-09-12 14:18 压缩png 是为了减少空间,但是这种尺寸的图片在内存中占的位置不是400kb 付...

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

463. 关于protobuf读取的问题,js的lists.toArrayBuffer() 该如何读取? [ 54%]

...16(); 那么如果我这样: this.byte.writeInt32(5000); var lists = []; for(var i = 0;i < 5;i++){   var obj= new Object();   obj.uid = 122;   obj.sort = 133;   lists.push(obj); } var buffer = lists.toArrayBuffer(); this.byte.writeArrayBuffer(buffer); this.socket.send(this.byte.buffer) 然...

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

464. Ignored attempt to cancel a touchmove event with cancelable=false [ 54%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

465. 如何获取HTMLDivElement对象的文本值 [ 54%]

...          var tHTMLElement:HTMLElement;                 for(var i:int = 0,n:int = _html._childs.length;i < n;i++)                 {                     tHTMLElement = _html.getChildAt(i) as HTMLElement;                     if(tHTMLEleme...

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

466. GL ERROR :GL_INVALID_OPERATION [ 54%]

GL ERROR :GL_INVALID_OPERATION 有时会报这个错 [.Offscreen-For-WebGL-120AECC8]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. 百度了一下,是webgl底层报出来的,不知道这怎么解决?   2017-10-10 添...

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

467. Tween回调方法里如何带参数? [ 54%]

...-06-08 0 0 分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: for (var i:int = 1; i <= 2;i++ ){ var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); Tween.to(sp,{x:300,y:300,alpha:0.5},1000,null,Handler.create(this,function():void {   ...

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

468. bind函数的作用 [ 54%]

...], this.onProtoLoaded.bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @par...

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

469. 小游戏安卓不支持filters [ 54%]

...动去绘制线条 下面是部分代码 this.cutLayer.graphics.clear(); for(i = this.lines.length - 1; i >= 0; i--){ var line = this.lines[i]; line.state++; if(line.state > 7){ this.lines.splice(i, 1); } this.cutLayer.graphics.drawLine(line.x1, line.y1, line.x2, line.y2, "#ffffff", this.lineB...

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

470. list 滑动问题 [ 54%]

... 滑动问题 我在UI界面添加了一个list 控件,然后在代码里for循环加载了其它的图片,添加在list上。。然后运行的时候发现不能滑动。。这样写有什么问题吗?是不是还要控制list里面的一些属性啊? 2017-09-22 添加评论 免费帖 --> ...

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