大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1124) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(39)
...; var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); picture.on(Event.MOUSE_DOWN, this, onStartPicture(Picture); } function ...
来源: Laya_社区 发布时间: 20181022
...引擎初始化方式有关; ABC • 2021-10-18 20:09 Laya.init(Browser.width, Browser.height, Laya.WebGL);采用WebGL初始化,骨骼动画就无法完全置灰; ABC • 2021-10-18 20:10 Laya.init(Browser.width, Browser.height)这种方式初始化,正常的 ABC • 2021-10-18 20:17 WebGL...
来源: Laya_社区 发布时间: 20211018
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...graphics.drawCircle(0, 0, 350, null, "#ff0000", 4); sprite.pivotX = sprite.width * 0.5; sprite.pivotY = sprite.height * 0.5; sprite.x = this.width * 0.5; sprite.y = this.height * 0.5; this.addChild(sprite); Laya.Tween.to(sprite, {scaleX:1.5, scaleY:1.5, alpha:0}, 5000); 2018-07-08 添加评论 免...
来源: Laya_社区 发布时间: 20180708
...INGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters globalRotatio...
来源: Laya3.0_api 发布时间: 20231115
...分享 微博 QZONE 微信 kezhiyu 赞同来自: <style>#game_canvas{width:100;heigth:L100%}<style> 请先确保这个100%可以覆盖全屏,现在假如手机只有320, 520 <canvas width=”640“, heigth="1040" id="game_canvas"></canvas> 在游戏里应该是Laya.stage.se...
来源: Laya_社区 发布时间: 20180601
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...ctor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.ApePath, Handler.cre...
来源: Laya2.0_文档 发布时间: 20210715
...= treeData; // tree.size(300, 300) // tree.x = (Laya.stage.width - tree.width) / 2; // tree.y = (Laya.stage.height - tree.height) / 2; // Laya.stage.addChild(tree); } 附件 : --> 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180726
... 废话不多说 上代码 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL nWidth:number; nHeight:number; ImgX:number; ImgY:number; Img:Laya.Image =new Laya.Image(); this.nWidth =this.bg.width; //背景图宽 this.nHeight =this.bg.height;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="...
来源: Laya_社区 发布时间: 20181123