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

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

3691. 回调函数传递sprite3D问题 [ 51%]

....push(warehouse1); Laya.timer.frameLoop(1, this, freshBubble,spriteArray); function freshBubble(sprites) { var spr = sprites[0]; xp = (((-25) - cameraX) * ((-25) - cameraX)+( 0 - cameraY) * ( 0 - cameraY) + ( 0 - cameraZ)*( 0 - cameraZ)); camera.viewport.project(spr.transform.position, camera.projec...

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

3692. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 51%]

...ge.addChild(button);         button.on(laya.events.Event.CLICK,this,function () {             let photo = laya.utils.Browser.getElementById("photo");            photo.click();         });     } } new GameMain(); 为什么 click事件没有响应? 猜想是不...

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

3693. laya.display.css.TextStyle_API3.0 [ 51%]

...strokeColor underline underlineColor valign Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Enumeration Interface

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

3694. 休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 [ 50%]

...romise) DOMException: play() 导微信小程序报错window.focus is not a function 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Text类中竟然没有pos函数的api~ 用了ByteArray的zlib.min.js后报错 官网示例摇一摇报错,就解...

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

3695. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 50%]

...axUI.ts有前缀导致报错 导微信小程序报错window.focus is not a function 本地调试加载本地图片都报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 启动引擎报错 mPlugin.game_plugin_init(3); 真机调试报错:LayaPlayer不支持的标签<...

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

3696. Laya小游戏在Laya里边跑没问题,发布到微信平台报错 [ 50%]

...台报错"gameThirdScriptError undefined;at api readFile success callback function undefined" 错误是WAGame.js 和 gamePage.html;里的,不知道为什么,希望有人解答啊!急需急需急需…… 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

3697. 预加载进入游戏界面 [ 50%]

...n 此 LoaderManager 对象本身。          */         public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享 微博...

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

3698. [LayaAir3]OPPO小游戏下图片地址无法加载 [ 50%]

...po技术客服给出解决方案: let self: any = this; this.btn.onClick(function () { (Laya.Browser.window as any).jsb.loadImage( "https://sh.mudgj.com/api/playe ... ot%3B, (info: any) => { var filePath = Laya.PAL.g.saveImageTempSync({ data: info.data, width: info.width, height: info.height, f...

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

3699. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 50%]

...3-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/...

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

3700. 请问:为什么适配模式导致帧率急速下降 [ 50%]

...) //修改监听舞台变化 Laya.Stage.prototype["_changeCanvasSize"] = function(){    Laya.stage.designWidth=Laya.stage.height*Laya.Browser.width/Laya.Browser.height;    Laya.stage.setScreenSize(Laya.Browser.clientWidth *Laya.Browser.pixelRatio,Laya.Browser.clientHeight *Laya.Browser.pixelRa...

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