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

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

51. workerLoader问题 [ 54%]

...用worker加载首先worker.js就有问题 onmessage里面 var e = t.data; switch (e.type) { case "load": loadImage2(e); } e是url字符串,改好之后可以加载了,回调方法this指向有问题, (this as any as WorkerLoader).workerMessage(evt.data); 这里this指向的worker,而不是Wor...

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

52. 预设/场景的导出(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 54%]

...ayaAir3D--Help--Tutorial中查看。** 在菜单栏--LayaAir3D--Shortcuts--Switch to LayaAir3D shader,能将项目内所有材质改为LayaAir3D的默认材质(BlinnPhong)。 在导出完成后,我们把文件复制到简单示例的bin文件夹下。 Tips:本章节中只介绍简单加载...

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

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

...):void {             if (screenPos) {                 switch (_map.orientation) {                 case TiledMap.ORIENTATION_ISOMETRIC:                      screenPos.x = _map.width / 2 - (tileY - tileX) * _tileWidthHalf;                  ...

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

54. 请问:通过Laya.Geolocation来定位存在较大误差(超过1公里),该如何解决? [ 54%]

...调函数:获取GPS坐标失败后 function cb_onGeoPositionFail(error) { switch (error.code) { case Laya.Geolocation.PERMISSION_DENIED: alert("位置服务被拒绝,请检查您的GPS和定位设置"); break; case Laya.Geolocation.POSITION_UNAVAILABLE: alert("暂时获取不到位置信息"); bre...

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

55. 预设/场景的导出(ActionScript-3D基础(AS3)-LayaAir3D之3D场景可视化编辑) [ 53%]

...ayaAir3D--Help--Tutorial中查看。** 在菜单栏--LayaAir3D--Shortcuts--Switch to LayaAir3D shader,能将项目内所有材质改为LayaAir3D的默认材质(BlinnPhong)。 在导出完成后,我们把文件复制到简单示例的bin文件夹下。 Tips:本章节中只介绍简单加载...

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

56. lightingmap 显示的亮度比unity暗很多 [ 53%]

...够亮了,请问是怎么调的 qian • 2018-03-23 11:17 就点了一下switch to Layaair3D shader fighter12345 • 2018-03-23 11:18 @qian:行,我再试试 fighter12345 • 2018-03-23 11:28 @qian:切换之后确实是有亮度了,而且比unity的要亮很多,这个需要调整什么参数...

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

57. 苹果上架直接导致账号被调查。。。 [ 53%]

...onses in Resolution Center - Engaging in misleading purchasing or bait-and-switch schemes - Engaging in other dishonest or fraudulent activity within or outside of the app During our investigation, we will not review any apps you submit. Please do not create a new developer account or make any app t...

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

58. 求救 Laya2.0下的Particle2D问题 [ 53%]

...不出有啥问题,换回1.0又是正常的,只能来这里请教了 switch (key) { case 'E': frameX = sprite.pivotX * 2; frameY = sprite.pivotY; frameRotation = 0; frame.scaleX = 1; frame.scaleY = 1; break; case 'Q': frameX = sprite.pivotX * 2; frameY = sprite.pivotY; frameRotation = 180; frame...

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

59. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 53%]

...           let format;                     switch (ext) {                         case "ktx":                             format = exports.TextureFormat.ETC1RGB;                         ...

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

60. Tween.to 执行失败 [ 52%]

...console.log(sprite.y) ; console.log("once done") ; } function onWalk(dir){ switch(dir){ case "up": hero_p1.roleAni.play(0,true,"p1_walk_up"); Laya.stage.addChild(hero_p1.roleAni); break ; case "down": hero_p1.roleAni.play(0,true,"p1_walk_down"); Laya.stage.addChild(hero_p1.roleAni); break ; case "le...

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