大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...来自: 太棒了,感谢分享 2020-05-20 0 0 分享 微博 QZONE 微信 newlearn 赞同来自: 'Files' is not recognized as an internal or external command, operable program or batch file. The syntax of the command is incorrect. The syntax of the command is incorrect. 'D:/Program' is not recogniz...
来源: Laya_社区 发布时间: 20200325
...bject"); budai = tiledMap.getLayerObject("Object","budai"); var flower = new Sprite(); flower.loadImage("res/ui/npc/budai/stand_ld1.png"); flower.pos(budai.x, budai.y); flower.alpha=1; flower.pivotX=25; flower.pivotY=80; flower.zOrder = budai.y; flower.autoSize = true; flower.height = 100; flower....
来源: Laya_社区 发布时间: 20180722
...折叠 要回复问题请先登录 发起人 R. 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The Audi...
来源: Laya_社区 发布时间: 20200110
...onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MeshFilter(): MeshFilter Overrides Component.constructor Defined in laya/d3/core/MeshFilter.ts:15 Returns MeshFilter Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/compo...
来源: Laya3.0_api 发布时间: 20231115
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170422
... } function initMatter() { var gameWorld = new Sprite(); Laya.stage.addChild(gameWorld); // 初始化物理引擎 engine = Matter.Engine.create({ enableSleeping: true }); ...
来源: Laya_社区 发布时间: 20180323
...keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property 'apply' of undefined;at api readFile success callback function TypeError: Cannot read property 'apply' of undefined at Function.eof (h...
来源: Laya_社区 发布时间: 20180302
...nLateUpdate onPostRender onReset onStart onUpdate Constructors constructor new LODGroup(): LODGroup Overrides Component.constructor Defined in laya/d3/component/LODGroup.ts:194 实例化一个LODGroup Returns LODGroup Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra...
来源: Laya3.0_api 发布时间: 20231115
...Laya官方的打飞机项目测试报错是: RenderState2D.worldClipRect=new Rectangle(0,0,99999999,99999999); 2017-11-28 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 麻烦大家用1.7.12正式版的引擎库看下是否有问题吧,我们这边测试已经没问题了...
来源: Laya_社区 发布时间: 20171113
...s,onResize); } private function initMatter():void { var gameWorld:Sprite = new Sprite(); Laya.stage.addChild(gameWorld); engine = Matter.Engine.create({enableSleeping:true}); Matter.Engine.run(engine); var render = LayaRender.create({engine:engine,container:gameWorld,width:stageWidth,height:stageHei...
来源: Laya_社区 发布时间: 20171214