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

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

71. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 47%]

...tSource("https://www.layaair.com/3.x/de ... ot%3B,1); this.htmlvideo.video.addEventListener("loadedmetadata",()=>{ var videoTexture:Laya.VideoTexture = new Laya.VideoTexture(); videoTexture.video = this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = ne...

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

72. laya可以转换flash补间动画成h5动画吗? [ 44%]

...erContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("datas.swf"),context); } protected function onCom(event:Event):void { var loaderInfo:LoaderInfo=event.target as LoaderInfo; var mc:MovieClip=loaderInfo.conten...

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

73. ios safari横屏下,鼠标点击不正确,且旋转屏幕时显示错位 [ 42%]

...nerHeight; 即可   修改后的laya.core.js,先定位到21176行window.addEventListener("resize",function(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["input...

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

74. Laya中的宏编译要怎么用啊 [ 40%]

...ain extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_L...

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

75. 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! [ 32%]

...(去掉了bitmap 只保留精简的 sprite )  啰嗦的 laya 改进(addEventListener removeEventListener 使用 Handler  可以在监听时传参 ) 一切都是那么用心   同学们  未来一定是属于laya的! 2018-12-18 4 条评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

76. 微信小游戏加载资源问题 [ 11%]

...Type = function (value) { }; node.setFontFace = function (value) { }; node.addEventListener = function (value) { }; node.contains = function (value) { return null; }; node.removeChild = function (value) { }; return node; } static createShaderCondition(conditionScript) { var func = function () { retu...

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