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

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

5491. 分享:TiledMap设置viewport后黑屏问题! [ 84%]

...tiledMap将可能会被裁剪掉,设置方式如下:package { import laya.display.Sprite; import laya.display.Stage; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Handler; public class LayaAirDemo { private var tiledMap:TiledMap; public function LayaAirDemo() { // 不...

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

5492. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 84%]

laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html 下载2.0ide后,我用layaide2.0beta2创建一个新2d示例项目 在layaide里按运行没问题,打开的页面是bin\index.html 可是在flashdevelop里运行却有问题,每次打开的页面都是bin\h5\index.html .laya/...

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

5493. ani动画问题,cannot read property '_tf' of null [ 84%]

ani动画问题,cannot read property '_tf' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, f...

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

5494. spine骨骼动画出现局部错乱,并且相对官网示例,播放不够平滑 [ 84%]

...链接地址:http://zh.esotericsoftware.com/spine-examples-raptor。 用laya的spine动画转换工具转换,laya2.0环境,语言用的typeScript。主要有两个问题: 播放这个动画时发现迅猛龙的爪子扭曲变形了,如下图: 这个应用了网格的动画,在官方的...

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

5495. Laya下的图片上传示例(完整版) [ 84%]

Laya下的图片上传示例(完整版) /** * 用户提交图片 file 表单 基于原生 dom * */ //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); var img:any = Laya.Browser.docu...

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

5496. laya.d3.physicscannon.CannonPhysicsSimulation_API3.0 [ 84%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsSimulation" CannonPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps di...

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

5497. unity怎么导出laya能用的粒子特效文件 骨骼动画文件。需要什么插件,和需要怎么操作来实现? [ 84%]

LayaAir引擎 unity怎么导出laya能用的粒子特效文件 骨骼动画文件。需要什么插件,和需要怎么操作来实现? 新人项目需要用到这个引擎,不知道怎么从unity里导出3D特效和模型动画 2017-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

5498. Laya2.0 分离模式下自定义VIEW导出UI问题 [ 84%]

Laya2.0 分离模式下自定义VIEW导出UI问题 自定义了一个BaseView,在ui编辑器里面创建,导入自动添加了Laya前缀 附件 : --> 2019-01-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

5499. this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 [ 84%]

this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 this.btClose1.on(Laya.Event.CLICK,null,this.close); 这句代码报错  附件 : --> 2017-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyin...

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

5500. Naitve下解析xml出错 [ 84%]

Naitve下解析xml出错 在非native模式下,使用 var protocols = Laya.Utils.parseXMLFromString(Laya.loader.getRes(url)).firstChild;这样的方式,可以获取到xml对象,调用protocols.children.length没有问题。但是在native模式下。获取出来的对象调用protocols.childr...

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