大约有 1,204 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0051 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...数 Tween.to(sp,{x:500},1000,Ease.backIn,Handler.create(this,onTween1)); } private function onTween1():void { // TODO Auto Generated method stub num++; trace(num); Tween.clearTween(onTween1); Tween.to(sp,{x:100},1000,Ease.backIn,Handler.create(this,onTween2)); } private function onTween2():void { //...
来源: Laya_社区 发布时间: 20161011
... Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472) private function createTimerLine():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,nul...
来源: Laya_社区 发布时间: 20170327
...GL; import ui.ComponentDemoUI; public class ComponentDemo { //资源路径 private var skin1:String="res/component/check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL...
来源: Laya2.0_文档 发布时间: 20210714
... qwer535305054 赞同来自: Laya.timer.loop(1000, this, this.setTime); private setTime(){ this.downTime--; Tween.to(img1, { x: randomx, y: randomy }, 250); Tween.to(img2, { x: randomx, y: randomy }, 250); Tween.to(img3, { x: ...
来源: Laya_社区 发布时间: 20171016
...aleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createInput(); } private createInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; inputText.text = "这...
来源: Laya2.0_示例 发布时间: 20241125
...加回调方法 http.on(Laya.Event.PROGRESS, this, this.processHandler); } private processHandler(data:any): void { console.log("processHandler"); } private errorHandler(error:any): void { console.log("errorHandler"); } private completeHandler(data:any): void { console.log("completeHandler"); } } ne...
来源: Laya3.0_文档 发布时间: 20241014
...rotected Methods MethodDefined By __runComplete(handler:Handler):void private SoundChannelProperty DetailcompleteHandlerpropertypublic var completeHandler:Handler 播放完成处理器。 durationproperty duration:Number [read-only] 获取总时间。 Implementation public function ...
来源: laya_api 发布时间: 20170929
...个 Laya3D 实例。 Laya3D _cancelLoadByUrl(url:String):void[static] private Laya3D init(width:Number, height:Number, config:Config3D = null, compolete:Handler = null):void[static] 初始化Laya3D相关设置。 Laya3DPublic Constants ConstantDefined By ANIMATIONCLIP : String = ANIMATIONC...
来源: Laya2.0_api 发布时间: 20190513
...rowser/6.2 T 代码如下,另附上demo class Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; ...
来源: Laya_社区 发布时间: 20181208
...这样实现了,但觉得不应该这样弄,求指点: private function showPic():void { apesCtn=new Sprite() Laya.stage.addChild(apesCtn); for (var i:int = 0; i < 4; i++ ) { ...
来源: Laya_社区 发布时间: 20161023