大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0143 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...rigger的enter和exit频繁触发 注释掉_simulate(deltaTime)函数的 this._btDiscreteDynamicsWorld.callBackBody.length = 0; this._btDiscreteDynamicsWorld.allContacts.length = 0; 这两句就正常了 附件 : --> 2020-08-06 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20200806
...邀请: 与内容相关的链接 提交 2 个回复 大林 赞同来自: this.gl = laya.webgl.WebGL.mainContext; if (!this.gl) { throw new Error('Failed to get WebGL Context'); } gl的context取不到,为空。webgl的支持也显示为false 2018-09-10 0 0 分享 微博 QZONE 微信 皓雪树青 ...
来源: Laya_社区 发布时间: 20180910
... 在一个界面中加入如上代码 video 没有显示 点击空白 this.videoElement.play is not a function TypeError: this.videoElement.play is not a function 2019-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190312
...Ease.backIn(100,100,100,100); Tween.to(sp,{x:400},1000,ease,Handler.create(this,onTween)); 2017-01-05 0 0 分享 微博 QZONE 微信 shaotianhk 赞同来自: var ease:*=Ease.backIn(100,100,100,100); 这句是什么鬼,放在js里直接报错 2018-04-02 0 0 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20170105
...ublic function TestView() { super(); _path.pivot(0,0); _path.pos(a.x,a.y); this.addChild(_path); _path.rotation = Math.atan2(b.y - a.y, b.x - a.x) / Math.PI * 180; var len:int = Math.floor(GetPathLen()/PATH_LEN)+2; var p:Image; for(var i:int = 0;i<len;i++){ p = new Image("test/footprint.png"); p....
来源: Laya_社区 发布时间: 20171113
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function 在做微信小游...
来源: Laya_社区 发布时间: 20190811
...图片内指定小图帧的API吗? layabox 有类似这样的API吗? this.animations.add('down', [0, 1, 2], 10, true); this.animations.add('left', [12, 13, 14], 10, true); 就是一个角色的上下左右动作都放一张图片里面了 2017-12-11 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20171211
...t type="text/javascript"> function convertCanvasToImage(canvas,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); callback(image,thisObj) }; console.log("图片加载中...") image.src = canvas.toDataURL("image/png"); return image; } </s...
来源: Laya_社区 发布时间: 20170718
...置即可! var img:Image=new Image(); img.loadImage('comp/image.png'); this.addChildAt(img,this.numChildren-2); 如果是同级下的显示对象,通过zOrder、addChildAt、setChildIndex都可以 2017-01-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...
来源: Laya_社区 发布时间: 20170112
...REEN_NONE; Laya.loader.create("LayaScene_Laya/Laya.ls",Laya.Handler.create(this,this.on3DComplete)); 报错 throw new Error("LoaderManager:unknown file("+url+") extension with: "+extension+"."); 2018-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180116