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

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

4031. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 46%]

...容导出生成指定大小的图片,并返回文件路径。 */ export function canvasToTempFilePath( this: string, object: _canvasToTempFilePathObject ): void; 这是wx.d.ts里写的 我看文档说用这个获取分享用 再问下 微信中的Canvas在laya中如何获取啊 ? A • 2018-11-2...

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

4032. layaair1.5.4测试版本ide下调试 报protobuf错误 [ 46%]

...callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:354:26) at Object.ProtoBuf.loadProtoFile (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:5150:38) at msg_cs.__p...

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

4033. box2d引擎报错问题 [ 46%]

...i.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

4034. Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 [ 46%]

...ojects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:6223:67) at Function.FrustumCulling.renderObjectCulling (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:6331:24) at Scene.__proto._preRenderScene (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/...

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

4035. laya.d3.math.Viewport_API3.0 [ 46%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Static property

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

4036. 微信飞机大战 升级版,包含跟踪弹,散弹,道具,积分,难度 [ 46%]

...事件的阻止事件冒泡来解决 this.on(Laya.Event.MOUSE_DOWN, this, function (e) { e.stopPropagation();//阻止冒泡 console.log('@_@' + e.stageX, e.stageY); }); 另外,能分享一下,你的导弹是怎么做的吗?谢谢 2017-09-19 0 1 分享 微博 QZONE 微信 bingqimao 赞同来自...

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

4037. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 46%]

...RandomTwoConstant createByRandomTwoOverTime Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

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

4038. drawcall优化问题 [ 46%]

...-01-22 23:37 Laya.loader.load( 'res/atlas/comp.json', Handler.create(this, function(){ container = new Laya.Sprite(); var x = 0,y =80; Laya.stage.addChild(container); for(var i=0;i<1200;i++){ var role = new Laya.Sprite(); x = x+0.1; y = y+0.1 role.x = x; role.y = y; role.loadImage('comp/bg.png');...

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

4039. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 46%]

...本类: ```typescript //重写脚本中的onUpdate方法 override public function onUpdate():void { var touchCount:int = _scene.input.touchCount(); if (1 === touchCount){ //判断是否为两指触控,撤去一根手指后引发的touchCount===1 if (isTwoTouch){ return; } _text.text = "触控点...

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

4040. oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; [ 46%]

...置之后纹理宽高可能会发生变化。 */ __proto.loadImageSource=function(source,premultiplyAlpha){ (premultiplyAlpha===void 0)&& (premultiplyAlpha=false); var width=source.width; var height=source.height; this._width=width; this._height=height; this._setWarpMode(/*laya.webgl.WebGLCo...

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