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

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

231. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 69%]

...a.Animation(); this.body.loadAtlas(config[this.type].imgBang, Laya.Handler.create(this, this.onLoad)); this.body.width = config[this.type].width this.body.height = config[this.type].height onLoad(){ Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 ...

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

232. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 69%]

...shader compilation failed with skip optimization flags. (ps_5_0) Failed to create D3D shaders.   我蒙了,用Chrome调试还按不出F12的console模式,是用layaair调试出来的。我只知道和shader有关,但找不出错误来,请大神们帮忙看看。SkiingTest2包是LayaIDE2.5.0...

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

233. list只能显示一个图片 [ 69%]

...lBarSkin = "comp/hscroll.png"; this.list1.renderHandler = new Laya.Handler.create(this,this.onRenderList); this.list1.selectHandler = new Laya.Handler.create(this,this.onListSelect)设置renderHandler和selectHandler, _proto.onListSelect = function(index){ console.log(index + ' selected'); } _proto....

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

234. 关于使用资源版本控制加载出错问题 [ 69%]

....json"; laya.net.ResourceVersion.enable(LoadingView_configUrl,Laya.Handler.create(this,this.onProLoadedBef),2);     _proto.onProLoadedBef =function() { var ProResArray = [ {url : "res/atlas/com/loading.atlas" , type : Laya.Loader.ATLAS},                      ]; Laya.loader.load...

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

235. SCALE_FIXED_WIDTH适配屏幕的问题 [ 69%]

...         Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS },        ...

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

236. 淘宝创意互动小程序如何加载外部资源 [ 69%]

...ader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已经加载的图集缓存动画失败 模型资源释放问题 小游戏项目 加载有中文的json文件 报错 问题状态 最新活动: 2020-11-30 14:11 浏览: 229 关注: 2 人 sky1989chen • 202...

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

237. Unity插件导出模型 [ 69%]

...aya.Sprite3D.load("res/LayaScene_Model_71008/Model_71008.lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); }));   报错信息 Uncaught TypeError: Cannot read property 'transform' of undefined ...

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

238. 关于2D粒子的渲染问题 [ 69%]

...一个数组中:        var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _currentTime);       var startIndex:int = _firstFreeElement * _floatCountPerVertex * 4;     for (var i:int = 0; i < 4; i++) {     var j:int, offset:int;     for (j = 0, offset ...

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

239. 其他引擎的Demo-Example_23 [ 69%]

...= Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; // create a background texture Laya.stage.loadImage("../../res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, animate); })(); function animate() { if (tick > frequency) { tick = 0; // iterate through the dudes and update the ...

来源: Laya_示例 发布时间: 20251218

240. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 69%]

...n';  /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) }  private onComplete(){ this.map = new Laya.TiledMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage.height), new Laya.Ha...

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