大约有 998 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya_社区(777) Laya3.0_api(69) Laya2.0_api(62) laya_api(57) Laya2.0_文档(21) Laya2.0_示例(5) Laya_示例(5) Laya3.0_文档(2)
...merLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1},2000,null,0) ...
来源: Laya_社区 发布时间: 20170327
...tructor Properties alpha blendMode dragging hitArea pivotX pivotY rotation scaleX scaleY scrollRect skewX skewY viewport EMPTY Methods recover reset create Constructors constructor new SpriteStyle(): SpriteStyle Defined in laya/display/css/SpriteStyle.ts:38 Returns SpriteStyle Properties alpha alpha...
来源: Laya3.0_api 发布时间: 20231115
...ameX = sprite.pivotX * 2; frameY = sprite.pivotY; frameRotation = 0; frame.scaleX = 1; frame.scaleY = 1; break; case 'Q': frameX = sprite.pivotX * 2; frameY = sprite.pivotY; frameRotation = 180; frame.scaleX = 1; frame.scaleY = 1; break; case 'W': frameX = 0; frameY = sprite.pivotY; frameRotation = ...
来源: Laya_社区 发布时间: 20190723
...vent.MOUSE_UP, this, onApeRelease); } function onHold() { Tween.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后停止hold */ function onApeRelease() { // 鼠标放开时,如果正在hold,则播放放开的效果 if (isApeHold) { isApeHold = fal...
来源: Laya_示例 发布时间: 20241117
...Hold() { const Tween = Laya.Tween, Ease = Laya.Ease; Tween.to(this.ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后停止hold */ onApeRelease() { const Tween = Laya.Tween, Event = Laya.Event; // 鼠标放开时,如果正在hold,则播放放开的...
来源: Laya2.0_示例 发布时间: 20241117
...,去乘以不同分辨率的缩放比例即可。例如: var scaleX = Laya.stage.clientScaleX, scaleY = Laya.stage.clientScaleY; img.loadImage('../demo.jpg', 200 * scaleX, 70 * scaleY, 100 * scaleX, 100 * scaleY); 2017-10-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0...
来源: Laya_社区 发布时间: 20171013
... = btnWidth; btn_bottom.size(btnWidth, btnHeight); scaleX = btnWidth / btn_imgWidth; scaleY = btnHeight / btn_imgHeight; var scaleMin = scaleX > scaleY ? scaleY : scaleX; btn_bottom[i].pos(btnWidth * i + space * (i + 1), Browser.clientHe...
来源: Laya_社区 发布时间: 20161202
...//www.gamework.cn/blog/post/qykings/sprite%E4%B9%8Bbug public function set scaleX(value:Number):void { var style:Style = getStyle(); if(!style) { trace("----sprite--") return; } if(!style._tf) { trace("----sprite--_tf is null--"); return; } if (style._tf.scaleX !== v...
来源: Laya_社区 发布时间: 20170608
...nMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":10}],"scaleX":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleX","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleX","index":2},{"value":1,"tweenMethod":"linearNone",...
来源: Laya_社区 发布时间: 20210111
...骤三**:选中`第1帧`,在属性管理器中,将旋转与缩放的`scaleX`与`scaleY`属性值都设为`0.2`。如图5所示。设置属性值之后,`Image`时间轴中会自动增加缩放属性`scaleX`与`scaleY`。(*由于我们这个动效模板不需要位移效果,之前创建关...
来源: Laya2.0_文档 发布时间: 20210715