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

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

1641. Laya 绑定显示内容到骨骼动画 [ 67%]

...用方式:    this.__bind=new BindSkeleton();         Laya.stage.addChild(this.__bind);         this.__bind.x=Laya.stage.width*0.5;         this.__bind.y=Laya.stage.height*0.5;          this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler....

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

1642. 请问当按钮使用的skin透明的部分太大的时候,能够透过什么方法去调整碰撞范围吗? [ 67%]

...。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的目标对象或者未命中任何对象。 穿透表示鼠标事件发生的位置处于本对象绘图区域内时,才算命中,而与对象宽高和值...

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

1643. TiledMap,mapLayer追加精灵无法显示,已参考完已有问题解答,无法解决 [ 67%]

...并已经将其他3个mapLayer(1,2,4)设置不可见,也确定从stage->sprite->mapLayer(第三个)->sprite都设置为可见,黑色是 Laya.stage.bgColor 环境是1.7.10beta   附件 : --> 2017-09-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

1644. laya.media.VideoNode_API3.0 [ 67%]

...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...

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

1645. Laya.loader.load 加载场景报错 [ 67%]

....create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a function at Stage.__proto.addChild (laya.core.js:13290) at Main.<a...

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

1646. 监听不到Laya.Event.RESIZE事件 [ 67%]

监听不到Laya.Event.RESIZE事件 init():void{ Laya.stage.on(Laya.Event.RESIZE,this,this.onStageChange); } protected onStageChange(event:Event):void { this.bg.y = 180; alert("11111111111111") var desWidth:Number; var desHeight:Number; //获取窗口显示区的宽度。 desWidth=window.innerWidth...

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

1647. laya.ui.UIComponent_API3.0 [ 67%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1648. laya.ui.Dialog_API3.0 [ 67%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_I...

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

1649. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 67%]

...染模式 Laya.init(600,400,Laya.WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load([this.skin1,this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个CheckBox实例cb1 var c...

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

1650. animation在自定义box节点下不显示 [ 67%]

...1,2,3添加到节点中能显示,run9,10,11不能,但是直接添加到stage下就能显示。请问是为什么。是因为命名的问题吗? 2018-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...

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