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

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

221. 【紧急求助】典型的飞行射击游戏:如何在页面包裹边框层中循环滚动背景? [ 57%]

...答的哦!你这个问题你可以看看遮罩的使用,和屏幕适配lefttop的使用方法, 2018-04-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Uagi 相关问题 分享:自定义事件派发与侦听(A页面派发 B...

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

222. LayaAir_AS3项目中,如何内嵌一个新的页面 [ 57%]

...      myiframe.style.top = "0px";             myiframe.style.left = "200px";             myiframe.style.width = "1000px";             myiframe.style.height = "800px";             myiframe.src = "http://ask.layabox.com/";             __JS__('document.b...

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

223. android旋转屏幕 半边黑屏 [ 56%]

...nt.defaultFont = "宋体"; Laya.stage.alignV = "top"; Laya.stage.alignH = "left"; Laya.stage.screenMode = "vertical"; Laya.stage.scaleMode = Stage.SCALE_FULL; spr = new Sprite var te:Text = new Text(); te.fontSize = 50; te.text = "内容测试"; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage...

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

224. #layaContainer 这个div是绝对定位吗?是否只能通过绝对定位的方法来定义container的位 [ 56%]

...可以通过获取到canvas所在的div的id,然后操作它的style的lefttop值来实现你的需求! 2017-01-04 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Charon 相关问题 两个对象new了一个相同的对象,调用...

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

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

...ode:string="horizontal"; static alignV:string="top"; static alignH:string="left"; static startScene:any="desktop.scene"; 附件 : --> IOStest.zip 2023-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox...

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

226. laya.ui.HBox_API3.0 [ 56%]

...tion globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder...

来源: Laya3.0_api 发布时间: 20231115

227. laya.ui.Tree_API3.0 [ 56%]

... Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 12; addChild(selectBox); var folder:Cli...

来源: Laya3.0_api 发布时间: 20231115

228. MiniAdpter.nativefiles 设置后并没有起作用 [ 56%]

...居中 scalefixed适配模式设置后,image的ceterX,centerY,top,bottom,left,right这些都没用 修改项目设置-》图集设置》index.html目录位置后加载资源出错 自定义mesh可以正常显示,移动位置后,mesh无法显示了 list组件改变位置后在改变数据源的...

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

229. iframe嵌入laya做的html5,手机端浏览时iframe处不响应触摸滑动? [ 56%]

...能少。 this.iframe.style.zIndex = 1000;//设置层级 this.iframe.style.left ="100px"; this.iframe.style.top ="100px"; this.iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(this.iframe);

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

230. 怎么打开第二个工程 [ 56%]

...这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.body.appendChild(iframe); } } } 2018-02-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://ask.layabox.com/quest...

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