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

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

1301. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 53%]

...vg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行上边这段代码呢?打开谷歌浏览器,随便打开一个空白网页,F12,把上面的代码粘贴到控制台,然...

来源: Laya2.0_文档 发布时间: 20210715

1302. Geolocation在native上能使用么?安卓系统和苹果系统会不会存在定位差异过大? [ 53%]

...本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? IOS系统内嵌H5游戏,退到后台,等几...

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

1303. 使用2D地图3D人物混合进行游戏开发(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 53%]

...CoordToOrthographicCoord(this._pos, this._translate); layaMonkey.transform.position = _translate; //设置选择 var tmpRotationEuler = layaMonkey.transform.rotationEuler; tmpRotationEuler.setValue(-30, 0, 0); layaMonkey.transform.rotationEuler = tmpRotationEuler; }); ``` ![](img/2.gif) (图2)

来源: Laya2.0_文档 发布时间: 20210715

1304. 使用2D地图3D人物混合进行游戏开发(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 53%]

...CoordToOrthographicCoord(this._pos, this._translate); layaMonkey.transform.position = _translate; //设置选择 var tmpRotationEuler = layaMonkey.transform.rotationEuler; tmpRotationEuler.setValue(-30, 0, 0); layaMonkey.transform.rotationEuler = tmpRotationEuler; }); ``` ![](img/2.gif) (图2)

来源: Laya2.0_文档 发布时间: 20210715

1305. 使用IDE生成图集后,无论使用图集下的某个小图 [ 53%]

...本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 用二的幂次方图集和非二的幂次方图集区别在哪? LayaAirIDE下如何使用mask? 微信小游戏如何...

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

1306. 官方文档《自定义组件的制作与使用》中的错误 [ 53%]

...解决一下啊 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target LayaAirIDE下如何使用mask? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 wi...

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

1307. PIVOT [ 53%]

...片发生偏移 ymsdandan • 2017-10-11 12:10 @kezhiyu:那你是在改变position还是rotation时发生偏移的呀 ymsdandan • 2017-10-11 12:16 @kezhiyu:一般来说,你中心点改变的话,图片会以新的中心点偏移这是肯定的,测试的时候应该会偏移一半对吧,所...

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

1308. 安卓包使用系统webview webgl正常开启 用腾讯X5浏览器内核webview 变canvas模式了 [ 53%]

... 的放缩策略 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 LayaAirIDE下如何使用mask? unity中的模型导出后在laya中显示不正常 谷歌浏览器播放mp3出现The AudioContext...

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

1309. unity中,使用Animator Controller之后,导出报错 [ 53%]

...传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 从unity导出的...

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

1310. Native下,怎么使用protobuf? 有没有范例可以下载参考 [ 53%]

...本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' doe...

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