大约有 3,084 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
Laya_社区(2354) Laya2.0_文档(237) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(36)
...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true Image和Sprite在应用上的区别 Mac Chrome 打开 Laya.Browser.onSafari 是 true? 碰撞检测 和 sprite问题【js】 2个不规则的sprite图,如何实现精准...
来源: Laya_社区 发布时间: 20161118
...)[0]; body.appendChild(iframe); //适配处理 var frameWidth = 720 * Laya.stage.clientScaleX; var frameHeight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width...
来源: Laya_社区 发布时间: 20170415
...游戏设计宽高。 Laya.init(750, 1334); //设置适配模式 // Laya.stage.scaleMode = "noborder"; var test=new TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想...
来源: Laya_社区 发布时间: 20170503
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene ...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...ge(); //给个ID方便添加CSS样式 snapshot.id = "snapshot"; //将整个STAGE画到图片里 snapshot.src = Laya.stage.drawToCanvas(1080,1920, 0, 0).getCanvas().toDataURL(); //图片显示在页面中 document.body.appendChild(snapshot); //隐藏游戏画布 document.getElementById("layaContainer...
来源: Laya_社区 发布时间: 20180112
...defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...ler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.w...
来源: Laya_社区 发布时间: 20161219
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...
来源: Laya3.0_api 发布时间: 20231115
...Laya2.5编译后有问题Laya前面多出一个Laya 如图正常写法Laya.stage 但是laya2.5 TS实验版编译后是Laya.Laya.stage。 这样导致Laya["MiniAdpter"]就成了 Laya.Laya["MiniAdpter"]就会报错 附件 : --> Test2.5TsNew_.zip 2020-01-14 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20200114