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

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

331. Sprite optimizeScrollRect = true 似乎有问题 [ 52%]

... this.content.autoSize = true; this.content.y = this.scrollMode == DOWN_TO_TOP ? this.height : 1; this.mask.addChild(this.content); this.content.on(Event.MOUSE_DOWN, this, this.onMouseDown); this.content.on(Event.MOUSE_WHEEL, this, this.onMousewheel); } this.createText = function (_content, _fontSiz...

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

332. 用iframe内嵌网页及适配 [ 52%]

... 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 - frameWidth) * 0.5, (laya.utils.Browser.height - frameHeight) * 0.5); this.iframe.setAttribute('width', frameWidth); ...

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

333. ui资源存的位置 [ 52%]

...看过了,因为ide编辑的UI直接用"skin":"ui/ui_bg_top.png",这样做了预加载有意义吗?

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

334. 2D纹理消失 [ 52%]

...02-26 0 10 分享 微博 QZONE 微信 s_hao 赞同来自: 现象截图 Desktop.rar 2018-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 s_hao 相关问题 纹理平铺怎么做 开启CastShadow以后,模型会莫名其妙消失,...

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

335. Laya自适应的问题,pc上面自己实现自适应,是bug还是我写的不对呢,,, [ 52%]

...ALE; Laya.stage.alignH = Stage.ALIGN_LEFT; Laya.stage.alignV = Stage.ALIGN_TOP; Laya.stage.screenMode = Stage.SCREEN_NONE;   我们自己根据界面的宽高和浏览器的宽高去实现自适应,,, 现在问题是,窗口化打开游戏, 然后在全屏,,这样周边都是白屏,...

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

336. 1.7.4beta发布的微信h5在iOS横屏时会导致页面不完整(附图)? [ 51%]

...aleMode = "fixedwidth"; Laya.stage.alignH = "center"; Laya.stage.alignV = "top"; Laya.stage.screenMode = Stage.SCREEN_VERTICAL;   这是升级衍生的bug吧? 附件 : --> 2017-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

337. laya.ui.HScrollBar_API3.0 [ 51%]

...ance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY component...

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

338. laya.ui.VScrollBar_API3.0 [ 51%]

...ance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY component...

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

339. h5项目打包成单机版本的apk 出现卡死 [ 51%]

...跟index.html这个有关系吗: <div style="position:absolute;top: 32%;width: 80%;left: 10%;text-align:center;"> <img src="loading_logo.png" style="width: 100%;max-width:500px;" /> </div>

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

340. PC端web应用开发,想把生成的canvas放进一个div中并调整在页面上的位置,请给出一个方案。 [ 51%]

...自动生成的,生成时的css是: position: absolute;  left: 0px;  top: 0px;  background: rgb(255, 255, 255);  transform-origin: 0px 0px 0px;  transform: matrix(0.8, 0, 0, 0.8, 0, 0);   但我想把该canvas放进一个div中,然后把div在页面上调整位置。该怎么弄?   ...

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