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

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

1691. release发版错误大概知道什么原因吗? [ 66%]

...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true u3d下spine动画工具导入报错:转换失败---chitianshishoux--加载错误,xxx/xxx/chitianshishoux.atlas 使用CreateHeightMap脚本生成高度图的时候,...

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

1692. 自己写了个label继承官方的label,出现了问题,求指导~ [ 66%]

...DemoLabel { public function DemoLabel() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; //---------------------------------这是用我自己写的label继承了官方的label,问题是label显示不出来,但是也无报错-------------------------------------------- var label:Lab...

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

1693. laya.ui.VBox_API3.0 [ 66%]

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

1694. 官方3D空间转2D空间的demo问题:当3D模型走出视野外后,也投影到屏幕了 [ 66%]

..., camera.projectionViewMatrix, _outPos); layaMonkey2D.pos(_outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); } 2017-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来...

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

1695. laya.ui.HBox_API3.0 [ 66%]

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

1696. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 66%]

...动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img: Laya.Image = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } } new PanelTest(...

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

1697. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 66%]

...       imag=new Image("ui/comp/image.png");             Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{      ...

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

1698. bug,ChainCollider.points第二次设置,会报错! [ 66%]

...2d示例项目中代码,改写的,点击2次场景就会报错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bull...

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

1699. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 66%]

...re.js:10340)     at EventHandler.__proto.run (laya.core.js:710)     at Stage.__proto.event (laya.core.js:499)     at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

1700. TileMap有明显的bug [ 66%]

...sole.log("map create ..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : -->...

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