大约有 324 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)
Laya_社区(99) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_示例(16) Laya_示例(15) Laya2.0_文档(12) Laya3.0_文档(4)
... LayaRender.run(render); // Render 启动 var gun_skin = new Laya.Sprite().loadImage("images/qiang_001.png"); gun_skin.scale(50, 50); gun_skin.pivot(gun_skin.width / 2, gun_skin.height / 2); gun = Bodies.rectangle(150, 150, 50, 50, { frictionAir: 0.5, //空气摩擦力 density: 0.68, // 密度 layaS...
来源: Laya_社区 发布时间: 20180522
...ToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play playTo pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabe...
来源: Laya3.0_api 发布时间: 20231115
...width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pause pivot play pos reCache reload removeChild removeChildAt removeChildByName removeChildren remo...
来源: Laya3.0_api 发布时间: 20231102
...ler = null, aniMode:int = 0):void 通过加载直接创建动画 Skeleton loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多...
来源: laya_api 发布时间: 20170929
...phics.drawRect(0, 0, 100, 100, "#FF0000", "#0000FF", 1); //this.tMapPlayer.loadImage("unit/test.png"); this.tMapPlayer.zOrder = 1000; testLayer.addChild(this.tMapPlayer); }楼上您好,我照着你的代码写的,但是还是看不到我自己的sprite,请问是怎么回事呢? 我可以确...
来源: Laya_社区 发布时间: 20170627
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabel remov...
来源: Laya3.0_api 发布时间: 20231115
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多...
来源: laya_api 发布时间: 20170929
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos postMsg reCache removeChild removeChildAt removeChildByName removeChildren removeInputChi...
来源: Laya3.0_api 发布时间: 20231102
... sp = new Sprite(); sp.loadImage('./../img/psh_freq.png'); sp.pos(500, 400); sp.on("mousedown", this, callback); Laya.stage.addChild(sp); ...
来源: Laya_社区 发布时间: 20161128
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabel remov...
来源: Laya3.0_api 发布时间: 20231115