• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 324 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)

201. 物理Bodies绑定Laya.Sprite [ 52%]

... 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

202. laya.ani.swf.MovieClip_API3.0 [ 52%]

...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

203. laya.device.media.Video_API3.0 [ 52%]

...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

204. laya.ani.bone.Skeleton [ 52%]

...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

205. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 51%]

...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

206. laya.display.AnimationBase_API3.0 [ 51%]

...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

207. laya.ui.Dialog [ 51%]

...: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

208. laya.ui.WXOpenDataViewer_API3.0 [ 51%]

... 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

209. 事件绑定不触发bug [ 51%]

...                     sp = new Sprite();              sp.loadImage('./../img/psh_freq.png');              sp.pos(500, 400);                           sp.on("mousedown", this, callback);                           Laya.stage.addChild(sp);       ...

来源: Laya_社区 发布时间: 20161128

210. laya.display.FrameAnimation_API3.0 [ 51%]

...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