大约有 368 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0091 秒)
Laya_社区(167) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(12) Laya2.0_示例(6) Laya3.0_文档(3) Laya_示例(2)
...+ view.x, -bounds.y + view.y) as laya.resource.Texture; shadow.graphics.drawTexture(texture, bounds.x, bounds.y, bounds.width, bounds.height, null, 0.3); shadow.pos(view.x, view.y); view.parent.addChild(shadow); 2020-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20200330
... Uncaught TypeError: tex.once is not a function at Graphics.__proto.drawTexture (laya.core.js:1577) at onloaded (laya.core.js:1864) at Graphics.__proto.loadImage (laya.core.js:1860) at Function.Animation.createFrames (laya.core.js:17617) at Animation.__proto.loadImages ...
来源: Laya_社区 发布时间: 20170719
...是否在 graphics所绘制的区域内 如何获取Sprite上用graphics.drawTexture绘制的texture? 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 使用滤镜、遮罩、或者绘制频率很高的时候回出现黑屏闪烁 问题状态 最新活...
来源: Laya_社区 发布时间: 20170316
...("res/RunGameImg/floor.png"); var ape: Sprite = new Sprite(); ape.graphics.drawTexture(t, 0, 0); this.addChild(ape); ape.pos(20, 220); 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 JDL1807996924 赞同...
来源: Laya_社区 发布时间: 20170517
...ew Texture(htmlC); var sp2:Sprite = new Sprite(); sp2.graphics.drawTexture(_texture,0,0,1334,750); var blurFilter:BlurFilter = new BlurFilter(); blurFilter.strength = 4; sp2.filters = [blurFilter]; return sp2; } 我按照上面这样生成_self的模糊图片...
来源: Laya_社区 发布时间: 20170825
...e:Texture=new Texture(htmlCanvas); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture,0,0,100,100); Laya.stage.addChild(sp); sp.x=200; } } } 2017-07-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Funkyfun 相关问题 两个...
来源: Laya_社区 发布时间: 20170704
...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
... Sprite().pos(0, 200);//创建精灵并把它放倒200位置 * sp.graphics.drawTexture(texture);//把截图绘制到精灵上 * Laya.stage.addChild(sp);//把精灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p> * * var...
来源: Laya_社区 发布时间: 20180826
...true; console.log(rankTexture) LayaUISample.scoreview.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); var rankTexture=new Texture(Browser.window.sharedCanvas); 这里报错 VM13215:1 gameThirdScriptError bitmap._addReference is not a function Type...
来源: Laya_社区 发布时间: 20180310
...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