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

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

61. 刮刮卡效果实现 [ 56%]

...onMouseMove); interactionArea = new Sprite(); interactionArea.blendMode = "destination-out"; ape.addChild(interactionArea); interactionArea.graphics.clear(); } function onMouseMove(e) { if(mouseX!=0){ if(Math.abs(mouseX-ape.mouseX)>= 360){ //滑动超过多少距离 自动开奖 ape.visible = fal...

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

62. 我打印laya.stage时看到有个_width 但是我打印laya.stage._width 得到值和之前看到的不一样 [ 55%]

...前的内容全部赋值给全部input 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何截取小数点之前的数字 sprite设置了cachea...

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

63. ios15遮罩引起的黑屏在1.x的版本上如何解决 [ 55%]

...LightArea.visible = false; //设置叠加模式 highLightArea.blendMode = "destination-out"; highLightArea.setName("highLightArea") mask.addChild(highLightArea); 附件 : --> 2022-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

64. 关于环形进度条,进度不能重置问题 [ 55%]

... this.say.height/2, this.say.width/2, "#00ffff"); this.circle.blendMode = "destination-out"; } Laya.class(IndexView,"IndexView",_super); IndexView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/...

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

65. 阴影太浓怎么变淡?看到说directlight.ambientColor,但这ambientColor属性没有 [ 55%]

...,在真机上直接没了?求解答 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 问题状态 最新活动: 2018-03-20 18:39 浏览: 1102 关注: 3 人 uu4uu • 2018-03-20 17:55 我按你这么设置了,没用 天...

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

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

...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

67. graphics如何实现橡皮擦效果 [ 53%]

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

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

68. 这种进度条怎么实现? [ 53%]

...SIZE >> 1,-90,this.startY,'#ff0000') this.$circleSprite.blendMode = "destination-out" this.$circleSprite.pos(this.CIRCLE_WIDTH >> 1,this.CIRCLE_WIDTH >> 1) this.$circleSprite.graphics.clear() this.$circleSprite.graphics.drawCircle((this.DEF_SIZE - this.CIRCLE_WIDTH) >> 1, (th...

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

69. 新手引导在ios浏览器表现异常 [ 52%]

...new Laya.Sprite();             interactionArea.blendMode = "destination-out";             this.guideContainer.addChild(interactionArea);             this.guideHitArea = new Laya.HitArea();             this.guideHitArea.hit.drawRect(0, 0, Laya.s...

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

70. 引擎示例中的新手引导自己写了一次,不知道为什么无法实现点击。 [ 49%]

...(); guideContainer.addChild(interactionArea); interactionArea.blendMode = "destination-out"; var tipContainer = new Sprite(); stage.addChild(tipContainer); onClick(); function onClick() { var guide = guideSteps[step++]; interactionArea.graphics.clear(); interactionArea.graphics.drawCircle(guide.x, g...

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