大约有 1,720 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...stage.width - this.progressBar.width) / 2; this.progressBar.y = Laya.stage.height / 2; this.progressBar.sizeGrid = "5,5,5,5"; this.progressBar.changeHandler = new Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(...
来源: Laya2.0_文档 发布时间: 20210715
...aniBody.getBounds(); this.aniBody.pivot(bound.width / 2, bound.height / 2); if (direction < 0) { this.aniBody.scaleX = -1; } else { this.aniBody.scaleX = 1; } } 每改变一个方向CurMern都爆涨50M这样...
来源: Laya_社区 发布时间: 20170615
...; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.AL...
来源: Laya_社区 发布时间: 20190814
... this.iframe.style.width = "100%"; this.iframe.style.height = "100%" this.iframe.style.border = "none"; this.iframe.style.zIndex=-1 } 那我有一个需求,想将document 元素 层级设置为-1,任看得见,该如何实现呢 2024-03-05 0...
来源: Laya_社区 发布时间: 20240304
...1005945485 • 2017-11-16 23:13 获取浏览器的高度,是Laya.Browser.height吧,我把这个值赋给精灵后,还是因为超出而看不到,因为精灵的位置也是相对舞台的,而舞台底部是超出了屏幕的,所以精灵还是被挡住了,我被这问题难住好几天...
来源: Laya_社区 发布时间: 20171116
...est-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoadedMap)); } private var sp:Sprite; private function onLoadedMap():void { var mapLayer:MapLayer=tiledMap.getLayerByIndex(2); sp=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000&quo...
来源: Laya_社区 发布时间: 20170525
...("res/map/map.json",new Laya.Rectangle(0,0,Laya.Browser.width,Laya.Browser.height), Laya.Handler.create(this,this.onLoaded));报错的地方为:laya.tiledmap.js第178行: var tImageArray=relativePath.split("/");调试显示relativePath为undefined。 稍微跟踪了下,是141行在初始化tTi...
来源: Laya_社区 发布时间: 20161224
... graphics.drawTexture(shareTexture, 0, 0, shareTexture.width, shareTexture.height); 下一行报错: Uncaught TypeError: this.bitmap.activeResource is not a function 2020-05-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 星夜 相关...
来源: Laya_社区 发布时间: 20190910
...this.data; this.list1.x = 50; this.list1.y = 500; this.list1.getChildAt(0).height = 100; this.list1.vScrollBarSkin = ""; this.list1.hScrollBarSkin = "comp/hscroll.png"; this.list1.renderHandler = new Laya.Handler.create(this,this.onRenderList); this.list1.selectHandler = new Laya.Handler.create(this...
来源: Laya_社区 发布时间: 20170914
...l; charset=utf-8"> <br> <p style="margin:0;font-size:20px;line-height:24px;margin-bottom: 20px"> package log. version: 1.6<br> unzip:/data/apollo_game_pkg//pkg/20180709/1021/2809_src.zip<br> unzip done...<br> /data/apollo_game_pkg/pkg/20180709/1021/cmshow_game_2809&l...
来源: Laya_社区 发布时间: 20180709