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

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

931. 有没有懂tiledmap地图的朋友帮忙看看问什么地图加载不出来 [ 68%]

...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.map.GridSprite; import laya.map.MapLayer; import laya.map.TileAniSprite; import laya.map.TileTexSet; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.H...

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

932. dialog第一次可以正常调出,第二次无法正常popup出来 [ 68%]

...oginView.prototype.init = function () {         this.btnReg.on(Laya.Event.CLICK, this, this.onBtnReg);         this.btnLogin.on(Laya.Event.CLICK, this, this.onBtnLogin);         this.dlg = new NormalDialog();         this.dlg.init();     };   附件 : --> firstgame.ra...

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

933. 键盘事件监听时间间隔问题 [ 68%]

...动,比如按住“向右键”玩家一直向右走,移动速度根据Event.KEY_DOWN事件回调向前移动,但刚开始按住方向健的第一次和第二次或前几次的回调间隔时间很长,如下是按住某个健的回调时间,第一次和第二次时间间隔相差很大,...

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

934. Spine骨骼动画点击区域偏移 获取不到width height [ 68%]

...i(`../bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]);     }     private parseComplete(x, y) {         this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete);         var sprite = this._factory.buildArmature...

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

935. 请问在手机里在屏幕上按下,然后滑动,然后离开屏幕表面(未超出屏幕范围)会触发哪些事件? [ 68%]

...114367261 赞同来自: mouse_down mous_move mouse_up 你可以查看一下event的api文档 http://layaair.ldc.layabox.com ... Event 2018-04-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Prajna 相关问题 【屏幕适配】在Laya...

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

936. laya.d3.core.RenderableSprite3D [ 68%]

... | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D Node EventDispatcher ObjectSubclasses MeshSprite3D, PixelLineSprite3D, ShuriKenParticle3D, SkinnedMeshSprite3D, TerrainChun...

来源: Laya2.0_api 发布时间: 20190513

937. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 68%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

938. 加上size设置后,精灵不能点击. [ 68%]

...0.33 ? "img/flower2.png" : "img/flower3.jpg" img.loadImage(s); img.on(Laya.Event.CLICK, this, () => { img.y -= 10; }) img.pos(100, 300) Laya.stage.addChild(img) } function createFlower() { var f = new Laya.Sprite(); var r = Math.random(); var s = r > 0.66 ? "img/flower1.jpg" : r > 0.33 ? "i...

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

939. HttpRequest在网页上和APP上表现不一致 [ 68%]

... function(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");});     hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());});     console.log("http timeout test:...

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

940. laya.core.js报错:value._addReference is not a function [ 68%]

...js:15911)     at Texture.__proto._onLoaded (laya.core.js:15752)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHand...

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