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

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

251. matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? [ 67%]

...和laya的x,y,width,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...

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

252. 如何避开iPhoneX的刘海? [ 67%]

...留黑边,引擎有没有提供快捷的方法? 我试过直接设置Render._mainCanvas.source.style.top但是游戏的下方会超出屏幕 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Apple 赞...

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

253. 关于graphics._saveToCmd的问题 [ 67%]

...ite = args[0];         //sp.graphics.clear();         var ctx=Laya.Render._context.ctx;         ctx.fillStyle="#FF0000";         ctx.fillRect(0,0,300,150);         ctx.clearRect(20,20,100,50);     } } new GameMain(); Laya.Stat.show(0, 0);//TODO 显示帧率 2017-03-17 0 2 分...

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

254. Laya定位和事件绑定 [ 67%]

...到事件的准确位置,则需要对Canvas进行初始化定位。 Laya.Render._mainCanvas.source.style.left = "190px";  Laya.Render._mainCanvas.source.style.top = "90px";   因为我们的页面布局都是使用DIV+CSS布局的,而这种方法需要使用JS来动态计算Canvas尺寸、坐...

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

255. LAYA IDE 设置语言包路径后卡死 [ 66%]

...esources/app/out/vs/layaEditor/h5/laya.js:8978:14)     at Stage.__proto.render (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59101:16)     at Stage.__proto.render (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:17102:44)     at Stage.__proto....

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

256. [LayaAir3]3.3.1版本spine 锚点问题 [ 66%]

...错误 Uncaught TypeError: Cannot read properties of undefined (reading 'renderType') at WebRender2DPass.batch (WebRender2DPass.js:236:47) at WebRender2DPass.fowardRender (WebRender2DPass.js:151:64) at WebRender2DPassManager.apply (WebRender2DPass.js:382:22) at Render2DProcessor.apply (Render2DProce...

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

257. 微信web页面贴图无法加载 [ 66%]

...: glGenerateMipmap: Can not generate mips [.Offscreen-For-WebGL-0x61872800]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. WebGL: too many errors, no more errors will be reported to the console for this context. 但...

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

258. Laya_API3.0 [ 65%]

...isWXPosMsg loader stage timer Methods addWasmModule alertGlobalError createRender enableDebugPanel init Properties Static isWXOpenDataContext isWXOpenDataContext: boolean = false Defined in Laya.ts:64 是否是微信小游戏子域,默认为false Static isWXPosMsg isWXPosMsg: boolean = false Defin...

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

259. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 65%]

...,进入List 内部,设置List 列表渲染项的属性 name 的值为 render。 **注意:此处列表渲染项属性 name 的值必须为 render。** 方法2:双击List 对象,进入List 内部,设置List 列表渲染项的属性 renderType的值为 render。 ​ ![图片0.png](img/3.png...

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

260. worker.js 使用问题 [ 65%]

...后报错如下Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Texture2D...

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