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

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

551. LAYA超级VIP技术服务半价转让 [ 66%]

...定价为1.2万/人/年。限定参与活动的条件是,年收入低于100万的,独立开发者、小规模团队、初创团队。一年1.2万相当于每月技术服务的开支仅1000元。服务方式为专属QQ群在线交流。大众版技术服务,限定参与人数是100人,活动...

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

552. Timer.clear 方法有问题 [ 66%]

...来自: 假如执行域和方法都一样呢,如下: Laya.Timer.loop(100, this, this.fun, null, false); Laya.Timer.loop(200, this, this.fun, null, false); Laya.Timer.loop(300, this, this.fun,  null, false); 上面的代码应该是给this增加了3个定时器吧 2018-07-19 0 0 分享 微博 QZ...

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

553. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 66%]

...yer=tiledMap.getLayerByIndex(2); sp=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); sp.zOrder=1000; mapLayer.addChild(sp); Laya.timer.loop(200,this,onLoop); } private var aaa:Number=0; private var bbb:Number=0; private function onLoop():void { aaa--; sp.x++; tiledMap.moveViewPor...

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

554. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 66%]

...498011 赞同来自: var shouye=(function(){ (function shouye(){ Laya.init(100,300); this.bgimg=new BackGround(); Laya.stage.addChild(this.bgimg); })(); return shouye; })(); var BackGround = (function (_super) { function BackGround() { BackGround.super(this); this.bg=new Laya.sprite; this.bg.loaIm...

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

555. 给每个精灵绑定点击事件,但点击精灵的时候时而触发时而不触发点击事件 [ 66%]

...,你设置的size值(鼠标触发的位置),是以中心点右方100个像素,下方100个像素画的一个矩形,如下图所示 所以当你点击右下方的时候click事件是肯定会触发的,但你点击其他区域是不会触发的,这样点击显示对象本身相当于...

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

556. laya.ui.ColorPicker [ 66%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截图绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也...

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

557. 【字节小游戏】游戏中播放视频 [ 66%]

....Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils.fitDOMElementInArea设置Video的位置,对齐的位...

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

558. laya2 物理引擎好多问题 [ 66%]

...,baozha/baozha_5.png,baozha/baozha_6.png,baozha/baozha_7.png'; ni.interval=100; ni.autoPlay=false; ni.wrapMode=0; ni.play(0,false);  var man:Laya.Sprite= this.owner.parent.getChildByName('man') as Laya.Sprite; var cil2:Laya.PolygonCollider=man.getComponent(Laya.PolygonCollider); var rig2:Laya.Rigid...

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

559. 怎么获取手机相册内容 [ 66%]

...yState) { var sp:Sprite = new Sprite(); sp.loadImage(fileReader.result,0,0,100,100); Laya.stage.addChild(sp); } }; } } } 2018-05-29 0 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 AllenYT 相关问题 请问有...

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

560. laya.ui.Dialog [ 66%]

...需的 x,y,width,heith 值,用逗号连接为字符串。 例如:"0,0,100,200"。 Dialog drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的...

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