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

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

81. 3d项目base64 截图成绩有偏差 [ 73%]

...没问题,3d有偏差,层级感觉反过来刷了一遍。    this.an_img.on(Laya.Event.MOUSE_DOWN, this, function (): void {                 console.log("点击");                 var htmlCanvas:Laya.HTMLCanvas = Laya.stage.drawToCanvas(1334, 750, 0, 0);//把...

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

82. 滤镜怎么取消?会报错! [ 72%]

...个self.filters = []操作试一下 a372853273 • 2018-02-10 12:16 this._$P.filters != t && (this._set$P("filters", t ? t.slice() : null), laya.core.min.js里面这一行代码报错。 a372853273 • 2018-02-10 12:16 好的 我试试 a372853273 • 2018-02-10 15:19 @qian:当精...

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

83. layacmd mac 系统安装不上,急 [ 72%]

...oot# npm install layacmd -g/usr/local/bin/layacmd -> /usr/local/lib/node_modules/layacmd/layacmd.js > electron@1.8.6 postinstall /usr/local/lib/node_modules/layacmd/node_modules/electron > node install.js /usr/local/lib/node_modules/layacmd/node_modules/electron/install.js:47 throw err ^ Er...

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

84. laya.display.Node_API3.0 [ 72%]

...tDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComp...

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

85. SCALE_FIXED_WIDTH适配屏幕的问题 [ 71%]

SCALE_FIXED_WIDTH适配屏幕的问题 主要设置屏幕横屏与竖屏切换时,有少部分andriod机器有比较大的概率出现半屏的情况。请问下是引擎不兼容呢,还是代码写的不完善 问题重现方法:先卸载微信后再安装最新版本的微信,一定要卸...

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

86. laya.media.VideoTexture_API3.0 [ 71%]

...erarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture destroyed dimension duration ended erro...

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

87. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 71%]

设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 主要设置屏幕适配的代码是下面,大部分手机是好的,有少部分andriod机器有比较大的概率出现半屏的情况。请问下是引擎不兼容呢,还是代码写的不完善  class Mai...

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

88. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 70%]

..., 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当mouseE...

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

89. 向Sprite添加复杂的富文本 [ 70%]

...你自己测试下就明白了,可以这么做 2、可以嵌入JS,用__JS__()可以实现as与js的直接交互,譬如__JS__("alert('aaa')") 2017-07-10 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 luuren 相关问题 文本如何...

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

90. layacmd问题 [ 69%]

...果通过AIR程序调用这个bat,则返回编译失败,通过查看 var _localBytes:String=_nativeProcess.standardOutput.readMultiByte(_nativeProcess.standardOutput.bytesAvailable, "gb2312"); 得到信息如下,好像有些乱码: layacmd compile [33mtsc.cmd -p . --outDir bin/js[39m  请问是什...

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