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

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

501. layaAir如何实现for循环加载多张图片,并且通过事件按比例缩小 [ 50%]

...r bl:Number=texture.width/texture.height             ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl);             apesCtn.addChild(ape);         } 2016-10-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

502. socket收到服务器的数据如何解析成proto对象? [ 50%]

...象 三国塔防游戏!终于开发完了,数据平衡好难调...... drawTexture时,Matrix对象,a=-1,无法实现水平翻转 问题状态 最新活动: 2017-11-27 09:43 浏览: 1666 关注: 3 人 zengjoeng • 2017-11-21 10:43 谢谢,这个已经看过了的,我说的不是这个问...

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

503. LayaAir复杂数据对象 预加载 [ 50%]

...后获取到的是一个Texture类型对象,可以直接通过graphics.drawTexture显示   2016-05-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Jackevent 相关问题 两个对象new了一个相同的对象,调用第一个的...

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

504. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(之前发起的问题不知道为什么找不到) [ 50%]

...Texture = new Texture(htmlCanvas); var b:Sprite = new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

505. TypeError: Cannot read property '_byteLength' of null [ 50%]

...Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constr...

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

506. Laya2.7.1 shader compileShaderByDefineNames感觉无效了。 [ 50%]

...est感觉没有发成功 斜角透视的感觉怎么弄出来呀?? 2.0 drawTexture color参数无效 (此问题已经无效) 关于同为object层,层级设置无效的问题 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 matter.js mouseconstraint在微信小游戏中无效 lh文件...

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

507. 头条/微信/OPPO/vivo/趣头条/百度 等渠道发布 [ 49%]

...大,头条开放域绘制sharedCanvas,报错.. 上一行代码: graphics.drawTexture(shareTexture, 0, 0, shareTexture.width, shareTexture.height); 下一行报错: Uncaught TypeError: this.bitmap.activeResource is not a function 2020-05-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

508. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 49%]

...齐模式选居中 没效果 Laya2.20bata4版本使用HTMLDivElement报错 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 问题状态 最新活动: 2019-03-09 11:41 浏览: 3177 关注: 3 人

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

509. this.bitmap.activeResource is not a function [ 49%]

...as.width,Laya.Browser.window.sharedCanvas.height); this._openZone.graphics.drawTexture(this._openZoneTexture,0,0,this._openZoneTexture.width,this._openZoneTexture.height,new Laya.Matrix(scaleX,0,0,scaleY)); } } 接字节跳动小游戏,绘制开放域排行榜时报this.bitmap.activeResource is no...

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

510. 图集打包后使用Texture不显示啊 [ 48%]

...aya.loader.getRes("start/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture,300,300); Laya.stage.addChild(sp); var ani: Laya.Animation = new Laya.Animation(); ani.loadAtlas("res/start.json"); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.i...

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