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

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

1. 关于新手引导 [ 100%]

... 0.9.2   新手引导  运行无效果   加速器不支持   destination-out    package view { import laya.display.Sprite; import laya.events.Event; import laya.resource.Context; import laya.utils.Browser; import laya.utils.HitArea; public class KouTu extends Sprite { private var box...

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

2. iphoneX环境下新手引导抠图透明区域为黑色,其它机型都正常[ 98%]

...his.interactionArea = new Laya.Sprite(); this.interactionArea.blendMode = "destination-out"; this.guideContainer.addChild(this.interactionArea); this.guideHitArea = new Laya.HitArea(); this.guideHitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); this.guideContainer.hitArea =...

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

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

...rea = new Sprite(); //设置叠加模式 this.interactionArea.blendMode = "destination-out"; this.guideContainer.addChild(this.interactionArea); this.hitArea = new HitArea(); this.hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, maskColor); this.guideContainer.hitArea = this.hitArea; ...

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

4. graphics如何实现橡皮擦效果 [ 85%]

...50, "#000"); circle.pos(50, 50); // 设置叠加模式 circle.blendMode = "destination-out"; box.addChild(circle);   实现擦除red节点内容擦除  但无法在擦除后位置重新绘图  因为被上面有circle透明区域挡住    请问如何实现在擦出后位置...

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