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

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

231. 【紧急求救】部分苹果机器打不开网页,微信吊起起,safri打开也都不行【已上传源码】 [ 48%]

...锯齿后性能下降明显,我们现给出另一种解决方案: 在 Context 类的 set2DRenderConfig 方法中,最后的位置添加以下两行gl.enable(gl.SCISSOR_TEST); gl.scissor(0, 0, RenderState2D.width, RenderState2D.height); 2022-04-28 0 0 分享 微博 QZONE 微信 HIPPOPMANANDRAPG...

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

232. 微信3D小游戏 ,Laya2.2.0 在微信工具中运行,WebGLShader 崩溃,如截图,100%重现,在安卓/iOS真机上不出这个问题 [ 48%]

...:1 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader'.    at ShaderInstance._createShader (laya.d3.js:1)     at ShaderInstance._create (laya.d3.js:1)     at new ShaderInstance (laya.d3.js:1)     at ShaderPass.withCom...

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

233. setSubPixels画布擦除不掉 [ 48%]

...tatus; // let canvasInfo = this.getCanvasWidthHeight(); let ctx = new Laya.Context(); // let w = canvasInfo.w//tex.width; // let h = canvasInfo.h//tex.height; let w = tex.width; let h = tex.height; ctx.size(w,h); ctx.asBitmap = true; // ctx.clearRect(0,0,w,h); let _targets= ctx['_targets']; _targets...

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

234. Android打包后运行报错 [ 48%]

...gt;>>evalhttp://stand.alone.version/Main.max.js apploader.js:5328 getContext type=2d /home/layabox/LayaBox/conch6git/Conch/build/conch/proj.android_studio/jni/../../../../source/conch/JSWrapper/LayaWrap/JSGlobalExportCFun.cpp:250 alert=http://stand.alone.version/Main.max.js:16077: ReferenceErr...

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

235. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 48%]

...ache bitmap size larger than 2048,cache ignored"); _cacheStyle.releaseContext(); _next._fun.call(_next, sprite, context, x, y); return; } 就是这个 w > 2048 导致 容器的 CacheAs 'bitmap' 废了, 很奇怪相同的代码 在 laya 2.1 中为啥没事? WaIker • 2019-10-23 23:25 算...

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

236. 安卓概率闪退 [ 47%]

...a/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::internal::Context::native_context()+0) [arm64-v8a] 2 #01 pc 00000000006594a4 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::Isolate::GetCurrentContext()+20) [arm64-v8a] 3 #02 pc 000000000065f294 /data/app/com.my...

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

237. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 47%]

...62-7562/com.dihong.testdcc E/libEGL: call to OpenGL ES API with no current context (logged once per thread) 05-16 15:59:48.971 7562-7585/com.dihong.testdcc W/chromium: [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation 05-16 15:59:48.980 7562-7562/com.diho...

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

238. Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? [ 47%]

...个和ImageData保持一致             var ctx2dx = canvx.getContext('2d'); //获取上下文             var imgdata = ctx2dx.getImageData(0,0,canvasWidth,canvasHeight); //获取imageData,来替代ImageData   如有更棒的办法,欢迎贴出来哟。同时也希望...

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

239. laya.physics.PhysicsDebugDraw [ 46%]

...当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void 自定义更新、呈现显示对象。一般用来扩展渲染模式,请合理使用,可能会导致在加速器上无法渲染。 注意不要在此函数内增加或删除树...

来源: Laya2.0_api 发布时间: 20190513

240. laya.d3.core.Camera_API3.0 [ 46%]

...RINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enable...

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