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

大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

1461. 内存问题和图集大小的关系 [ 52%]

...内容相关的链接 提交 3 个回复 Supermang42 赞同来自: 圖片 Width: 4875,Height: 585 ?   如果真的是這樣的話,圖片太大囉~! 2017-08-29 0 0 分享 微博 QZONE 微信 Supermang42 赞同来自: 剛才看了一下檔案,圖集太大了,最好不要超過512,超過...

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

1462. 加载.lh文件 运行后黑屏 无法显示 [ 52%]

...显示框位置                 this.text.x = Laya.stage.width / 2 -50 ;                 this.text.text = "触控点归零";                 //显示文本显示框                 this.text = new Laya.Text();              ...

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

1463. IOS下微信小游戏屏幕适配的问题,请帮忙看看 [ 52%]

....0.0     安卓微信小游戏端正常: GameConfig的配置: static width:number=1136; static height:number=640; static scaleMode:string="exactfit"; static screenMode:string="horizontal"; static alignV:string="top"; static alignH:string="left"; static startScene:any="desktop.scene"; 附件 : ...

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

1464. 粒子中引用的图片能合图吗 [ 52%]

...ta);     part.emitter.start();     part.play();     part.x = this.width / 2;     part.y = this.height - 100;     Laya.stage.addChild(part); } dian.png和dian.part放到demo的comp目录下。 dian.zip 2017-08-03 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 可否把可以...

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

1465. 如何过滤拥有相同name的节点对象? [ 52%]

...过精灵创建贴图对象,从而赋给材质? 获取sprite对象的 width和height为0 问题状态 最新活动: 2016-09-19 13:02 浏览: 2681 关注: 2 人

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

1466. 那个熊猫跑酷的实例,as3版是用什么测试的? [ 52%]

...法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 LayaAir 1.0.3测试版本bug问题反馈 有没有一些手机上运行的测试报告? 为什么这样没办法移除音效实例 JS 无法实例化 Laya.Templet 官方...

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

1467. 微信小游戏内TextInput不能实现只输数字的功能 [ 52%]

...但还能用 let input = new Laya.TextInput(); this.addChild(input); input.width = 100; input.height = 50; input.on(Laya.Event.BLUR, this, e=>{ let str = input.text.split(''); for (let i = 0; i < str.length; i++) { let isNotNumber = true; for (let j = 0; j < 10; j++) { if (str[i] == j.toStr...

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

1468. 小游戏怎么截图 [ 52%]

...ring;// = canvas.toTempFilePathSync(); canvas.toTempFilePath({ x: 0, y: 0, width: 1280, height: 720, destWidth: 1280, destHeight: 720, success:function(res:Object):void{ imagePath = res.tempFilePath; __JS__('wx').saveImageToPhotosAlbum({ filePath:imagePath, success:function(res:*):void{ trace("-----...

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

1469. matter.js的文档查看 [ 52%]

...w Laya.Sprite().loadImage("res/basketball.png"); ball_skin.pivot(ball_skin.width / 2, ball_skin.height / 2);  this.ball = Matter.Bodies.circle(0, -100, 34, {     layaSprite: ball_skin, // 绑定一个laya的Sprite, 不能用render.sprite     density: 1, // 密度     restitution: 0.85 // 弹...

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

1470. Laya.WebGL显示undefined, 现在怎么在Laya.init()里面用webGL渲染呢? [ 52%]

...容相关的链接 提交 2 个回复 cuixueying 赞同来自: Laya.init(width,height,WebGL)即可,你是怎么写的,还有具体表现,麻烦截图看下吧! 2017-07-18 0 4 分享 微博 QZONE 微信 godssl 赞同来自:   2017-07-18 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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