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

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

891. 粒子加载报错 [ 66%]

...Laya.Particle2D(settings); // sp.emitter.start(); // sp.play(); Laya.stage.addChild(sp);  sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } 附件 : --> 2019-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

892. 一个LayaAir moveout target 设计上的疑问? [ 66%]

...) {         sp[j + i * 10] = new Laya.Sprite();         Laya.stage.addChild(sp[j + i * 10]);         sp[j + i * 10].graphics.drawRect(0, 0, 50, 50, "black");         sp[j + i * 10].size(50, 50);         sp[j + i * 10].pos(i * 60, j * 60);         sp[j + i * 10].on(Laya.Event....

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

893. 骨骼动画播放完了,回调隐藏,回调在哪里 [ 66%]

...y.buildArmature(); mArmature.pos(650, 330); mArmature.play(0, false); this.addChild(mArmature); }); 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199553 赞同来自: 结束播放之后要监听Eve...

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

894. input setforbidEdit is not a function [ 66%]

...ileSystemManager is not a function 官方视频教程中飞机大战 "this.addChild is not a function" api readFile success callback function undefined api readFile success callback function undefined 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function...

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

895. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } this.owner.addChild(label); return label; } } 效果预览: (图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

896. laya加载unity插件导出的场景 physics3D is not a function [ 66%]

...ndler.create(this,function(s:Laya.Scene3D):void{ var scene = s; Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vect...

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

897. 图片使用pivotX参数后,再对图片添加遮罩会出现效果不对。 [ 66%]

...         bg.loadImage("../../res/bg2.png");         Laya.stage.addChild(bg);         bg2 = new Sprite();         bg2.loadImage("../../res/bg2.png");         Laya.stage.addChild(bg2);         bg2.scale(3, 3);         bg2.pivot(50,50)         //创建mas...

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

898. 分包项目, 加载js时报错 [ 66%]

...色             txt.color = '#ffffff';             this.addChild(txt);                          var v:View = new View();             v.graphics.drawCircle(50, 50, 100, "#000000");             v.pos(100, 100);             this.addChild(v)...

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

899. 使用createFrames创建的图集动画。如何单独修改这个缓存动画播放速度 [ 66%]

...时间间隔 body.interval = interval; //将动画加入到容器中 this.addChild(body); //增加动画播放完成监听 body.on("complete", this, this.onPlayComplete); } //播放当前状态的动画 this.playAction("fly"); } 2017-04-20 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

900. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 66%]

...LoadProgressBinder.bindAll) this.progressUI.UIMenu.value = 0.0; Laya.stage.addChild(this.progressUI.displayObject); Laya.timer.loop(100, this, this.updataPosition); this.loadMainDatas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public lo...

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