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

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

1061. Opp rpk一启动就黑屏 [ 55%]

...7874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57:02.604 17874 17959 E jswrapper: STACK: 05-31 15:57:02.604 17874 17959 E jswrapper: [0]e.drawTexture...

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

1062. laya的摇一摇发布到微信小游戏上无效 [ 55%]

...nce.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

1063. addToTransparentRenderQueue 中 'add' of undefined [ 55%]

...ya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefined 问题状态 ...

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

1064. [求助]无法使用loader预先加载 [ 55%]

...lse), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();         ...

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

1065. laya.components.KeyframeNodeList2D_API3.0 [ 55%]

...eList2D count getNodeByIndex setNodeByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Enumeration Interface

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

1066. 【初学者】导入模型进行旋转结果出现问题 [ 55%]

...new Laya.Vector3(1,0,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); 以上是代码 出现的问题是有一个物体 然后另外一个物体在旋转 2018-08-08 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没有找到相...

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

1067. graphics绘制报错 [ 55%]

..."./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint1...

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

1068. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 55%]

...EFINE_CLEARCOAT_NORMAL DEFINE_EMISSION init Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1069. 关于webGL下遮罩效率问题 [ 55%]

... new Sprite(); Laya.stage.frameLoop(1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

1070. 急急 在线等 加载xml 后直播无法自动播放 附示例项目 [ 55%]

...aderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML); //直接调用可以正常播放 //onConfigLoaded(null); }));   运行...

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