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

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

6231. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 38%]

...来自: 太棒了,感谢分享 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

6232. 请问object层中添加的sprite怎么添加点击事件 [ 38%]

...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

6233. Native打包出现一个看不懂的日志输出 [ 38%]

...折叠 要回复问题请先登录 发起人 R. 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The Audi...

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

6234. laya.d3.core.MeshFilter_API3.0 [ 38%]

...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

6235. laya.media.SoundNode [ 38%]

...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

6236. 物理引擎显示旋转问题 [ 38%]

...     }     function initMatter() {         var gameWorld = new Sprite();         Laya.stage.addChild(gameWorld);         // 初始化物理引擎         engine = Matter.Engine.create({             enableSleeping: true         });     ...

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

6237. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 37%]

...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

6238. laya.d3.component.LODGroup_API3.0 [ 37%]

...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

6239. 关于mac 升级 为 high sierra 后运行出错 [ 37%]

...Laya官方的打飞机项目测试报错是: RenderState2D.worldClipRect=new Rectangle(0,0,99999999,99999999);   2017-11-28 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 麻烦大家用1.7.12正式版的引擎库看下是否有问题吧,我们这边测试已经没问题了...

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

6240. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 37%]

...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