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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)

531. laya.display.FrameAnimation [ 79%]

...sses | Index | Frames No Frames FrameAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 节点关键帧动画播放类。解析播放IDE内...

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

532. 使用 Laya.loader 加载 .fnt 文件的BUG [ 78%]

...用 Laya.loader 以 Loader.FONT 类型加载 .fnt 文件 会无限抛出 Event.PROGRESS 事件卡在50%进度。 因为我想看源码,所以我用的是最后一个能看源码的版本2.1.2,我不知道后面的版本有没有修复,源码是: 问题应该出在 data._source 没有赋值...

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

533. Animation创建和销毁的问题 [ 78%]

.../初始化引擎 Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testA...

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

534. Image.loadImage 方法加载问题 [ 78%]

...button/button_window_public_space_enter.png";    this.btnEnter.on( Laya.Event.CLICK, this, this.btnClick );    this.width = 1553;    this.height = 270;   }   public set publicSpaceData ( publicSpaceInfoData:any )   {    this._publicSpaceData = publicSpaceInfoData;    console.log...

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

535. layaAir真的没办法做涂鸦板? [ 78%]

...rr=[]; var s=new Laya.Sprite(); Laya.stage.addChild(s); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,function(e){ arr.push([e.stageX,e.stageY]); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,bb) }) Laya.stage.on(Laya.Event.MOUSE_UP,this,function(){ Laya.stage.off(Laya.Event.MOUSE_MOVE,this,bb) }) function bb...

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

536. laya.display.Input [ 78%]

... All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框...

来源: laya_api 发布时间: 20170929

537. 关于HttpRequest报错问题 [ 78%]

...nt-Type","application/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); ...

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

538. laya.media.VideoTexture_API3.0 [ 78%]

...oveReference _setCPUMemory _setCreateURL _setGPUMemory canPlayType destroy event gpuCompressFormat hasListener isCreateFromURL load loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constru...

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

539. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 78%]

...n()     {         createMap();          Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown);         Laya.stage.on(Event.MOUSE_UP, this, mouseUp);     })(); //创建地图     function createMap()     {         //创建地图对象         tiledM...

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

540. laya.ui.Tree [ 78%]

...| All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties ...

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