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

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

241. 使用多个时间轴动画 demo.ani(0,true,'name')失效 [ 67%]

LayaAir IDE 使用多个时间轴动画 demo.ani(0,true,'name')失效 //初始化引擎 Laya.init(600, 400); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded));...

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

242. 请问 2.0 是不是把 VRCamera 和 VRScene 都去掉了? [ 67%]

请问 2.0 是不是把 VRCamera 和 VRScene 都去掉了? 请问 LayaAir 2.0 是不是把 laya.d3.core.VRCamera 和 laya.d3.core.scene.VRScene 都去掉了?   最近正准备做 VR 的项目,发现网站上的案例是 1.0 版本的,LayaAir 1.0 的 API 手册里面还有这两个类,...

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

243. Resources already exist,is repeated loading 加载特效报重复加载 [ 67%]

...报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotate:Laya.Vector3 = new Laya.Vector3(0, 1, 0);     priva...

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

244. spine 播放错乱 [ 67%]

spine 播放错乱 templet: Laya.SpineTemplet; skeleton: Laya.SpineSkeleton; index = 0; private startFun(): void { //创建动画模板 this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.o...

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

245. laya.d3.core.light.LightSprite [ 67%]

... No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Pro...

来源: laya_api 发布时间: 20170929

246. Laya2.0做排行榜时发布到微信中报错 [ 66%]

Laya2.0做排行榜时发布到微信中报错 在laya2.0中,做排行榜,开放域接收主域的消息,发布到微信中会报错,有人清楚怎么回事吗? 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

247. 怎么在api中找到 Laya.loader.load [ 66%]

怎么在api中找到 Laya.loader.load Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,this.onloaded),null,Laya.Loader.ATLAS); 这一句,我想找一下Laya.loader.load的使用说明和使用例子,但是不知道怎么找。在api里我开了Laya。 http://layaair.ldc.layabox.c...

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

248. box2d引擎报错问题 [ 66%]

...ider),在运动到终点时再回收到Pool中,有概率报如下错误laya.physics.js:430 Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManage...

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

249. 打包出现问题 [ 66%]

...ory, open '/Developer/xcode/projects/game_dev/180106JumpAJump/code.git/JumpLaya/release/layaweb/0.9/js/core/UIInterface.js' at Object.fs.openSync (fs.js:558:18) at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20) at Object.fs.readFileSync (fs.js:468:33) at Object.fs.readFil...

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

250. Laya.HTMLDivElement解析img标签报错 [ 66%]

Laya.HTMLDivElement解析img标签报错 onConfigLoaded(): void {         //加载IDE指定的场景         // GameConfig.startScene && Laya.Scene.open(GameConfig.startScene);         let div = new Laya.HTMLDivElement();         div.innerHTML="<img src='r...

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