大约有 5,015 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0090 秒)
Laya_社区(4919) Laya2.0_文档(33) Laya3.0_文档(18) Laya3.0_api(13) Laya_示例(12) Laya2.0_示例(11) Laya2.0_api(7) laya_api(2)
...d { image.x = 0; image.y = 0; image.scale(1,1); Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,new Handler(this,tweenGuide,[image]),500); } public function tweenGuide1(image:Image):void { Tween.to(image,{x:100,y:100},600,null,new Handler(this,tweenGuide1,[image]),500);...
来源: Laya_社区 发布时间: 20161216
timeline播放完成Bug class Sprite_DisplayImage { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya_社区 发布时间: 20190927
...新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The AudioContex...
来源: Laya_社区 发布时间: 20171012
..., surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: number, offsetX?: number, offsetY?: nu...'. Types of parameters 'mipMap' and 'offsetX' are incompatible. Type 'number' is not assignable to type 'boolean'. 2...
来源: Laya_社区 发布时间: 20170814
Tween回调方法里如何带参数? Tween.to(sp, {x:_x, y:_y, alpha:1}, 1000, null, Handler.create(This, function(){ sp.destroy(); }), 500); 这样写sp并不能被销毁,请问laya里沒有onCompleteParams方法吗? 2017-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170608
...lic function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模...
来源: Laya_社区 发布时间: 20151218
...用问题-解决办法 Text类中竟然没有pos函数的api~ MiniAdpter.autoCacheFile=true没有任何作用,并没有缓存资源 lineCap不起作用,什么原因了? 时间冒泡了,stopPropagation 不起作用 var text = new Laya.Text();为什么text.pivot(200,200);不起作用 js调as...
来源: Laya_社区 发布时间: 20180130
...Tween实现抛物线曲线,可以尝试使用from链式写法(TimeLine.to().to().to()...) 补充参考: AS:http://ask.layabox.com/question/267 JS 、 TS:采用js原生的贝塞尔类库 2016-08-10 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20160809
...折叠 要回复问题请先登录 发起人 haliluya 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND add PhysicsCollider组件的时候之间运行报错【2.0beta5.1] box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. 在add panel 后...
来源: Laya_社区 发布时间: 20151202
tweenline label事件诡异 this.timeLine.addLabel("rotate1",0).to(this.godContaner,{rotation:-5},200,null,0) .addLabel("rotate2",0).to(this.godContaner,{rotation:0},200,null,0); this.timeLine.play(0,true); this.timeLine.on("label", this, function(label){ console.log(label) }); 两个问题 1 为...
来源: Laya_社区 发布时间: 20170310