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

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

211. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 51%]

...or: Cannot read property '_glTexture' of undefined _i32b[2]=isloaded?value.bitmap._glTexture.id:0; ^^ TypeError: Cannot read property '_glTexture' of undefined at Sprite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ...

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

212. RenderTarget2D的create方法 [ 51%]

...w RenderTarget2D(w, h));                          if (!t.bitmap || t._w != w || t._h != h || t._surfaceFormat != surfaceFormat || t._surfaceType != surfaceType || t._depthStencilFormat != depthStencilFormat || t._mipMap != mipMap || t._repeat != repeat || t._minFifter != minFifter ...

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

213. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 51%]

...符占位。 > 未来的版本,有计划支持空格与换行 #### 2、BitmapFont位图字体类 通常FontClip已经可以满足关卡、特效等单行位图文本的需求。如果有特殊情况,就是想要空格,那也可以通过BitmapFont位图字体类来实现,在LayaAir 2.x IDE里...

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

214. [LayaAirIDE3]3.0.10 父容器做了一次scale缩放操作,子节点的label文字变模糊加粗 [ 51%]

...不清晰,您可以在tween移动之前先将this.body.cacheAs设置为bitmap,在tween移动完毕之后的回调里面重新设置为this.body.cacheAs="none"来强制重新绘制就可以了,这个我们考虑下是否有更好的重绘处理方法来处理这个问题。 2024-01-12 0 0 分...

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

215. RayCastAll射线检测同一MeshColliderShape返回两个结果 [ 51%]

...同一个面板中的所有资源用一个图集 VS 零散并使用cacheAs=bitmap 问题状态 最新活动: 2020-08-20 20:06 浏览: 4680 关注: 3 人 lyjkensou1 • 2020-08-14 15:46 希望问题能得到解决 小小泽 จุ บ • 2020-08-14 16:47 好的 52Hz • 2020-10-17 19:32 有解决办...

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

216. iphoneX 用微信打开游戏,,做新手引导 抠图有问题,,, [ 51%]

...ew Sprite(); // 设置容器为画布缓存 this.guideContainer.cacheAs = "bitmap"; Laya.stage.addChild(this.guideContainer); this.gameContainer.on("click", this, this.nextStep); //绘制遮罩区,含透明度,可见游戏背景 this.maskArea = new Sprite(); this.maskArea.alpha = maskAlpha; this...

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

217. laya.ui.Clip [ 51%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距...

来源: Laya2.0_api 发布时间: 20190513

218. 关于新手引导 [ 51%]

...r = new Sprite(); // 设置容器为画布缓存 guideContainer.cacheAs = "bitmap"; addChild(guideContainer); //绘制遮罩区,含透明度,可见游戏背景 var maskArea:Sprite = new Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000...

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

219. LayaAir 2.0版本开放数据域使用获取canvas方法绘制报错 [ 51%]

...制texture,t.addReference报错,改了laya.core.js之后又报了this.bitmap._getSource() is not a function,改了getsource之后不报错了,但是开放域的东西都没绘制出来,game.json里面设置了开放域的,并且使用laya微信开放域组件能够正常显示,使用2.0之...

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

220. 微信小游戏开放数据域按钮点击位置偏移 [ 50%]

...false); //设置大小 var canvas = new Laya.Texture(sharedCanvas); canvas.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 layout.graphics.drawTexture(canvas); } 2018-08-10 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 开放域的位置偏移,是因为你主域绘...

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