大约有 1,562 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
... })(); function drawPentagram() { var canvas = new Sprite(); Laya.stage.addChild(canvas); var path = [336, 515, 338, 515, 341, 515, 349, 515, 369, 513, 391, 513, 408, 513, 419, 515, 441, 519, 459, 521, 471, 524, 480, 524, 485, 524, 491, 524, 497, 524, 508, 524, 519, 524, 529, 524, 540, 536, 54...
来源: Laya_社区 发布时间: 20181230
...ADED有什么区别?为什么对scene不起作用 var scene = Laya.stage.addChild(new Laya.Scene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });...
来源: Laya_社区 发布时间: 20170619
...放音乐的声道, manager只是管理类。。。addchannel 类似于 addchild,把声道加入到管理类中,统一播放,你可以把源码点进去看看 wq • 2018-03-01 18:46 嗯,我在看看,谢谢了
来源: Laya_社区 发布时间: 20180301
... = 25 ; this.btn.scaleX = 25 / 75 ; this.btn.scaleY = 25 / 75 ; Laya.stage.addChild(this.btn) ; this.btn.size(25,25) ; this.btn.on(Laya.Event.CLICK, this, music.music_voice_toggle); 代码是这样的 , 图片上传不了,代码直接贴上来 2017-08-03 0 0 分享 微博 QZONE 微信 cuixueying...
来源: Laya_社区 发布时间: 20170803
...criptErrorn.sort is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function 3Ddemo加载Unity导出场景报错resou._removeReference is not a function 问题状态 最新...
来源: Laya_社区 发布时间: 20190329
...做不了 var scene:Scene=Scene.load("LayaScene_Main/Main.ls"); Laya.stage.addChild(scene); camera = Laya.stage.getChildByName("Main Camera") as Camera; ....... camera.viewportPointToRay(point, ray); 提示错误:Cannot read property 'viewportPointToRay' of null" 附件 : --> H5Dev.rar 2018-04-...
来源: Laya_社区 发布时间: 20180415
...wSomething() { sp = new Sprite(); Laya.stage.addChild(sp); // 绘制这些坐标.会出现如下图的错误 sp.graphics.drawPoly(0, 0, [285,285,-1,285,-1,-1,285,-1,285,213.24324324324323,240,240,240,260,260,260,285,259.12280701754383], "#ffff...
来源: Laya_社区 发布时间: 20171117
...raphics.drawTexture(t,100,100,t.width,t.height,matrix); Laya.stage.addChild(ape); ape.pos(0, 0); })); 设置new一个Matrix 然后设置水平偏移量tx 将屏幕外的图像移回舞台 2017-02-21 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20170221
...res/spine/pantheon-s.sk"); spine.pos(200,400); spine.scale(0.5,0.5); stage.addChild(spine); //由 20 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, ...
来源: Laya_社区 发布时间: 20180613
...ture(rankTexture, 0, 0, rankTexture.width, rankTexture.height); Laya.stage.addChild(rankSprite2); }); 希望官方可以给个微信小游戏排行榜2.0的demo 附件 : --> 2019-01-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190115