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

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

241. as3的bitmapData.clone方法在laya怎么实现 [ 66%]

...次图片,然后在CompleteHandler回调里获取texture,然后通过graphics进行绘制,graphics可以写到一个for循环里,多次进行绘制即可! 2017-07-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 babby_bei 相...

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

242. 升级2.0.2后,绘制图形会有抖动 [ 66%]

...在main.as里import miniadapter然后加载远程资源 就会无限加载 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 如何获取Sprite上用graphics.drawTexture绘制的texture? 2.1 spine 动画播放出现抖动的bug修复 怎么使用ttf,版...

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

243. laya 好像不能加载网络路径图片 [ 66%]

...网络路径图片 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._...

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

244. 在 move 的时候绘制线,但每次只存在一条 [ 66%]

...;绘制图形以后,怎么删除释放资源? 怎么检测点是否在 graphics所绘制的区域内 如何获取Sprite上用graphics.drawTexture绘制的texture? 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 使用滤镜、遮罩、或者绘制...

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

245. laya.media.VideoNode_API3.0 [ 66%]

...rchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc cu...

来源: Laya3.0_api 发布时间: 20231115

246. laya.ui.UIComponent_API3.0 [ 66%]

...r OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...

来源: Laya3.0_api 发布时间: 20231115

247. Laya 集成Box2d 可以么?着急 [ 66%]

...tage.height;     var ctx = canvas.getContext('2d');     Laya.stage.graphics.clear(false);     var textture = new Laya.Texture(canvas);     textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新     Laya.stage.graphics.drawTexture(textture);     debug...

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

248. 如何获取animation的node节点? [ 66%]

...options.srcName].frames[i].res].h, ); // 从大切片切出小切片 skill.graphics.drawTexture(textureIns,aniProps.mc[options.srcName].frames[i].x,aniProps.mc[options.srcName].frames[i].y); // 将小切片渲染到临时精灵上 skillAniArray[i] = skill._graphics._one; // 储存渲染后的小切...

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

249. laya.ui.CheckBox_API3.0 [ 66%]

...ckBox Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs center...

来源: Laya3.0_api 发布时间: 20231115

250. 图片遮罩大小跟设置不一致 [ 66%]

.../ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0);           let sp = new Sprite()           sp.graphics.drawRect(0, 0, 50, 50, '#ffff000')           ape.mask = sp })); } })(); 右边的...

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