大约有 228 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0041 秒)
...962用户 在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready"上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试 2019-04-10 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...
来源: Laya_社区 发布时间: 20190224
...调用?如图 ios原生回调问题 调用动画结束on方法,报错this.zombieAnimator.on is not a function 创建模型以后,调用destroy,以前clone的对象也消失了 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! laya支持批处...
来源: Laya_社区 发布时间: 20180107
...能是rendertexture2D里面的start方法内的bindframebuffer语句传的this._framebuffer会出现错误的情况。将this._framebuffer改为null后发现不闪屏了,然后在mask方法流程中使用rendertexture替换rendertexture2D还会闪屏。目前猜测应该也不是这个问题。 c4...
来源: Laya_社区 发布时间: 20220319
... 赞同来自: Laya.WebAudioSound.ctx.resume = function () { console.log('this is laya`s bug') } 2018-08-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 青衿 相关问题 游戏运行在chrome里面 听不见声音 播放声音出错...
来源: Laya_社区 发布时间: 20180716
...deoElement.style.zIndex = Render.canvas.style.zIndex+1; videoElement.src = this.url; videoElement.controls = false;//不现实控制播放按钮 // videoElement.autoplay = "autoplay";//自动播放 // videoElement.poster = GoldConsts.imgUrl; //设置在视频播放之前所显示的图片的 URL。 ...
来源: Laya_社区 发布时间: 20180313
...let url = "http://10.1.1.123:9090/pgame/s ... 3B%3B Laya.timer.loop(30000, this, ()=>{ let hr = new Laya.HttpRequest(); hr.http.timeout = 3000; hr.http.ontimeout = function(){console.log("http timeout test: timeout")}; hr.once(Laya.Event.COMPLETE, this, ()=>{console.log...
来源: Laya_社区 发布时间: 20171016
...tage.SCALE_FULL; Stat.show(); createMap(); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图http://layaair.ldc.layabox.com/api/ function createMap() { //创建地图对象 tiledMap = new TiledMap(); mX = mY = 0; //创建地图,适...
来源: Laya_社区 发布时间: 20171205
...后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIncludingGravity....
来源: Laya_社区 发布时间: 20180322
...运行效果与调试效果不一致(sprite,child) Laya.timer.frameLoop(1,this,this.run()); public run():void{ var childs:Array<Laya.Sprite> = this._childs; childs.sort(this.sortHandler); } public sortHandler(left:Laya.Sprite,right:Laya.Sprite):number{ return left.y-right.y; } ...
来源: Laya_社区 发布时间: 20180228
...到一个警告,提示读取X失败。 如图所示 应该就是不存在this._nativeObj = new window.conchRenderState();这个对象 附件 : --> LayaWebGLWebGLTest_.zip 2025-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20251216