大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...ya.ui.Image; import laya.utils.Stat; public class ImageRepeatDemo { public function ImageRepeatDemo() { Laya.init(1000,600); Stat.show(10,10); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; var tempWidth:int = 176; var tempHeight:int = 94; var repeatX:int = 5; var repeatY:int = 5; for(var i:int = 0,sz:...
来源: Laya_社区 发布时间: 20160830
...: 601 关注: 2 人 lxyfhl • 2018-10-30 15:23 __proto.initNoVersionDic=function(){ LayaAirProjectPack.addFileToDicData(FileManager.getPath(RunConfig.sourcePath,RunConfig.htmlFile),this.noVersionDic); LayaAirProjectPack.addFileToDicData(FileManager.getPath(RunConfig.sourcePath,"code.js"),...
来源: Laya_社区 发布时间: 20181022
...中文的json文件 报错 导微信小程序报错window.focus is not a function 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2019-07-27 13:56 浏览: 2810 关注: 4 人 姑苏城主 • 2019-07-27 13:56 希望能支持吧,如果一个游戏中的龙骨动画敌人种类...
来源: Laya_社区 发布时间: 20190711
...方法,请求官方帮助, 导微信小程序报错window.focus is not a function 微信小游戏中访问带空格的文件出错 微信小程序 发布后缺少app.json文件 程序字描边 edge无妨访问facebook的图片 问题状态 最新活动: 2017-06-08 12:25 浏览: 1303 关注: 2 人 ...
来源: Laya_社区 发布时间: 20170606
...gth() 用来获取XML或XMLList的长度。 iflash.method.xmlLength public function xmlLength(xml:*):int 参数 xml:* ; XML 或XMLList对象 例如:原生例子:var dataXML:XML = new XML(data); var len:int = dataXML.content.length(); 兼容H5写法: var dataXML:XML = new XML(data...
来源: Laya_社区 发布时间: 20151028
...模型 Laya.Sprite3D.load("Conventional/shoot.lh",Laya.Handler.create(this,function(sp){ //获取到Meshsprite3d var cube = scene.addChild(sp.getChildAt(0); //获取刚体 var cubeRigid = cube.getComponent(Laya.Rigidbody3D); })); ```
来源: Laya2.0_文档 发布时间: 20210715
... 分享 微博 QZONE 微信 源 赞同来自: __proto._initStaticBatchs=function(rootOwner){ this._quickSort(this._initBatchSprites,0,this._initBatchSprites.length-1); …… } 这个函数的第一行的这个排序有问题,把它注释掉就可以把drawcall降成1。 感觉上并木...
来源: Laya_社区 发布时间: 20180508
...新画布的方法 createjs.Ticker.addEventListener("tick", handleTick); function handleTick(event) { //在这干一件事.... stage.update(); } 上面是createjs的方法,想问laya中类似的方法如何做。 2017-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170329
... 调用focus接口是无法都在移动平台立刻弹出键盘的 public function set focus(value:Boolean):void { var input:* = nativeInput; if (_focus !== value) { if (value) { if (input.target) { input.target._focusOut(); } else { _setInputMethod(); } input.target = this; _focusIn(); consol...
来源: Laya_社区 发布时间: 20191010
...ist中添加多元素的item 导微信小程序报错window.focus is not a function as3 ,LayaAir下调试matter.js物理引擎出错。 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 app启动动画应该如何去掉 启动引擎报错 mP...
来源: Laya_社区 发布时间: 20180107