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

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

761. laya.particle.Particle2D_API3.0 [ 49%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

762. laya.media.SoundNode_API3.0 [ 49%]

...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

763. dialog的lock属性没出现 [ 49%]

... button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.popup(); } } } 2017-07-06 1 0 分享 微博 QZONE 微...

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

764. laya.map.GridSprite_API3.0 [ 49%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...

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

765. DragonBone动画使用(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 49%]

... new Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,350); //通过加载直接创建动画 skeleton.load("res/DragonBones/rooster/Rooster_Ani.sk"); } } } ``` 运行效果如动图6所示 ![动图6](img/6.gif) (动图6)

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

766. 升级到2.0后.原本用字符串索引module内的函数,发现不行了, 求指教 [ 49%]

...这个编译器一个bug,不能实现负负得正 Text类中竟然没有pos函数的api~ 关于shader中opengl函数问题 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 播放声音出错,求指教 引擎有没有管理或访问系统...

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

767. 重写X Y在android studio里运行会变成00 [ 49%]

...BOX做的练习小游戏http://iuhigi.cn/ 赞同来自: 我习惯用sprite.pos(x,y)去移动 2018-03-06 0 0 分享 微博 QZONE 微信 150*****705 赞同来自: 已解决 2018-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 150*****...

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

768. 我想移动容器来实现前进的动画,但是移动不了。这里的y有问题 但是又不知道改成什么 [ 49%]

...); bg2.loadImage("war/bc.png"); //更改背景2 放在背景1的上面 bg2.pos(0,852); Laya.stage.addChild(this); Laya.timer.frameLoop(1,this,myLoop);   } function myLoop(){ this.y=Laya.stage; // console.log("y is"+y); this.y+=1; // 如果背景图到了下面不可见的位置,立即调整位置...

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

769. tween对Text的缩放,为何会抖动呢? [ 49%]

...     txt.color = "#ff0000";     txt.fontSize = 30;     txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1);     Laya.stage.addChild(txt);          Laya.Tween.to(txt, { scaleX: 2, scaleY: 2 }, 5000);   5秒钟把文本放大2倍,感觉是 font...

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

770. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 48%]

...prite(); bgSprite.graphics.drawRect(0, 0, 200, 200, "#0xFFFF00"); bgSprite.pos(300, 300); Laya.stage.addChild(bgSprite); let mask = new Laya.Sprite(); bgSprite.mask = mask; mask.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000,...

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