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

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

1301. 如何在项目中加载ttf字体? [ 53%]

...规"; txt.fontSize = "50"; txt.text = "历史最高分:123456789"; Laya.stage.addChild(txt); txt.width = 100; txt.height = 100; txt.zOrder = 1000; } 但是if里面的不会执行,提示Laya.Browser.window.conch未定义 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

1302. 1.7版本要初始化后有些代码才能用了 [ 53%]

...is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03-02 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 kdsrpg 相关问题 LayaAir3D UnityPlugin 使用须知-版本...

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

1303. laya.media.VideoNode_API3.0 [ 53%]

...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...

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

1304. 调用时间轴动画丢失皮肤问题? [ 53%]

...画文件 tl.loadAnimation("XXXXX1.ani"); //添加到舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); qian • 2018-03-29 15:51 你传一下demo吧我看看 haisenshushu • 2018-03-29 15:57 怎么传啊?打包在哪里发给你呢@qian: qian • 2018-03-29 16:23 压缩...

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

1305. 引擎 TiledMap 居然不支持图块翻转 [ 53%]

...      this._mapSprite = new Laya.Sprite();             Laya.ILaya.stage.addChild(this._mapSprite);             var tJsonData = this._jsonData = e;             this._properties = tJsonData.properties;             this._orientation = tJsonData.orientation;             ...

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

1306. 关于list滚动位置的问题 [ 53%]

...t;21;m++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value= "+mDemoUi.m_list.scrollBar.value; }  如上所示,给list组...

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

1307. 关于嵌入div [ 53%]

...tion LayaAirDemo() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#232628"; Laya.timer.once(500,this,onLoop); Stat.show(); } private function onLoop():void { __JS__('var LayaCanvas1=document.getElementsByTagName("canvas")[0]'); __JS__('var LayaCanvas2=document.getElementsBy...

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

1308. laya.device.media.Video_API3.0 [ 53%]

...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...

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

1309. 安卓机截图变成黑块,ios和pc没问题 [ 53%]

...s); var sp2:Sprite = new Sprite(); sp2.graphics.drawTexture(texture); Laya.stage.addChild(sp2); }); } 附件 : --> 2018-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 panda-星 赞同来自: 我也遇到这...

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

1310. 有没有办法监听到手机的home键 [ 53%]

...pp 2018-01-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: Laya.stage.on(Event.BLUR,this,Onblur);                  private function Onblur():void{             alert("sdfsdf");         } 试一下吧 可以的 2018-01-06 0 0 分享 微博 QZONE 微信 qq747...

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